Mercurial > hg > config
view bin/example/script-path.sh @ 829:2bfd237c4e6c
py35
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sun, 19 Feb 2017 17:54:57 -0800 |
parents | 3da85ac3c54f |
children |
line wrap: on
line source
#!/bin/bash # echoes path to this script (example) echo "argv[0]: $0" path=`readlink -f $0` echo "path: ${path}" echo "basename: $(basename $0)"