source:
trunk/minix/commands/scripts/cd.sh@
15
| Last change on this file since 15 was 9, checked in by , 15 years ago | |
|---|---|
| File size: 181 bytes | |
| Rev | Line | |
|---|---|---|
| [9] | 1 | #!/bin/sh |
| 2 | # | |
| 3 | # cd 1.3 - equivalents for normally builtin commands. Author: Kees J. Bot | |
| 4 | ||
| 5 | case $0 in | |
| 6 | */*) command="`expr "$0" : '.*/\(.*\)'`" | |
| 7 | ;; | |
| 8 | *) command="$0" | |
| 9 | esac | |
| 10 | ||
| 11 | "$command" "$@" |
Note:
See TracBrowser
for help on using the repository browser.