minix/commands/cd/cd.sh
2010-05-12 16:28:54 +00:00

11 lines
181 B
Bash

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