* Robert Bihlmeyer 

| SUSv[23] provide "command -v" as the standard way. Debian's ash and
| bash have this as a builtin, zsh (e.g) does not, and we neither have
| it in /bin nor /usr/bin.

zsh isn't posix.

| > > Further, /bin/bash is available and provides both type and test as
| > > builtins.
| > 
| > Bad news for any Debian port that wants to use ash as its Essential
| > shell, then.
| 
| $ ash -c "type test"
| test is a shell builtin
| 
| ash and bash are AFAIK the only shells in /bin.

$ ls -l /bin/*sh*
-rwxr-xr-x    1 root     root        82312 apr  3 12:59 /bin/ash*
-rwxr-xr-x    1 root     root       511400 apr  8 21:07 /bin/bash*
-rwxr-xr-x    1 root     root       115304 apr 13 18:35 /bin/bsd-csh*
lrwxrwxrwx    1 root     root           21 apr  6 16:51 /bin/csh -> 
/etc/alternatives/csh*
lrwxrwxrwx    1 root     root            4 apr 24 18:08 /bin/rbash -> bash*
lrwxrwxrwx    1 root     root            4 apr 24 18:08 /bin/sh -> bash*
lrwxrwxrwx    1 root     root           21 apr  3 12:31 /bin/zsh -> 
/etc/alternatives/zsh*
-rwxr-xr-x    2 root     root       395048 apr 27 18:34 /bin/zsh4*
-rwxr-xr-x    2 root     root       395048 apr 27 18:34 /bin/zsh-4.0.4*
$ ls -l /etc/alternatives/csh
lrwxrwxrwx    1 root     root           12 mai  2 15:25 /etc/alternatives/csh 
-> /bin/bsd-csh*

so, csh and zsh are both in /bin

-- 
Tollef Fog Heen                                                        ,''`.
UNIX is user friendly, it's just picky about who its friends are      : :' :
                                                                      `. `' 
                                                                        `-  


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to