comparison bin/example/script-path.sh @ 685:3da85ac3c54f

STUB: bin/example/script-path.sh
author Jeff Hammel <k0scist@gmail.com>
date Mon, 19 May 2014 13:16:53 -0700
parents 18683536bc57
children
comparison
equal deleted inserted replaced
684:8b2787e98c01 685:3da85ac3c54f
3 # echoes path to this script (example) 3 # echoes path to this script (example)
4 4
5 echo "argv[0]: $0" 5 echo "argv[0]: $0"
6 path=`readlink -f $0` 6 path=`readlink -f $0`
7 echo "path: ${path}" 7 echo "path: ${path}"
8 echo "basename: $(basename $0)"