repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
umount: getopt return value is int, not char
[minix.git]
/
commands
/
cd
/
cd.sh
blob
e1f28e46a379211c576f4aa8552d0b42a07232c8
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
"
"$@"