minix/commands/scripts/cd.sh
2005-04-21 14:53:53 +00:00

11 lines
181 B
Bash
Executable file

#!/bin/sh
#
# cd 1.3 - equivalents for normally builtin commands. Author: Kees J. Bot
case $0 in
*/*) command="`expr "$0" : '.*/\(.*\)'`"
;;
*) command="$0"
esac
"$command" "$@"