Last active
October 4, 2015 04:37
-
-
Save tai2/2578178 to your computer and use it in GitHub Desktop.
echo self absolute pth
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
#!/bin/sh | |
THIS=${0#$(dirname $0)/} | |
echo $PWD/$THIS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment