minix/commands/scripts/cd.sh

12 lines
181 B
Bash
Raw Normal View History

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