absolute-path.sh (191B)
1 #!/bin/sh 2 3 set -e 4 5 if test $# -ne 1 || test "$1" = "-h" -o "$1" = "--help"; then 6 echo "Usage: $0 [/]absolute/or/relative/path" 7 fi 8 9 case "$1" in 10 /*) echo "$1";; 11 *) echo "$PWD/$1";; 12 esac
wwwUnnamed repository; edit this file 'description' to name the repository. | |
| Log | Files | Refs | README |