Last active
March 18, 2017 09:41
-
-
Save lacostenycoder/09b8f6483e6c54f017835833ad46bcf1 to your computer and use it in GitHub Desktop.
Test Atom Handler
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "test file line one" > ~/Desktop/test.txt | |
echo "test file line two" >> ~/Desktop/test.txt | |
#echo "<a> | |
username="$(whoami)" | |
url="atm://open?url=file://%2FUsers%2F$username%2FDesktop%2Ftest.txt&line=2" | |
htmlfile="/Users/$username/Desktop/test.html" | |
touch $htmlfile | |
echo "<a href='$url'>$url</a>" > $htmlfile | |
open $htmlfile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment