2 echo $PATH |
tr ':' '\n' |
grep -v "^$1\$" |
tr '\n' ':'
5 PATH
="$(path_remove $(dirname $0))"
8 sed -e "s,','\\\\'',g; 1s,^,',; \$s,\$,',;" << EOF
15 # when a string contains a "'" we have to escape it
17 saved
="$saved $(quote "$1")"
19 # otherwise just quote the variable
28 exec "$(basename $0)" "$@"