Subject: Re: SunOS.mk default shell for SH
To: Todd Vierling <tv@duh.org>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: tech-pkg
Date: 03/04/2005 19:29:35
At 12:04 Uhr -0500 4.3.2005, Todd Vierling wrote:
>On Fri, 4 Mar 2005, Hauke Fath wrote:
>> Have you tried out /usr/xpg4/bin/sh as the shell on Solaris?
>
>"ls -l /usr/xpg4/bin/sh" and you may be surprised.
>
>(Hint: It's a symlink to a shell in /bin other than /bin/sh. 8-)
Not on my machine:
[hf@sunchen] ~ > ll /usr/bin/*sh
1152 -r-xr-xr-x 1 bin 578964 Mar 2 2002 /usr/bin/bash
336 -r-xr-xr-x 2 bin 159344 Dec 12 2003 /usr/bin/csh
2 -r-xr-xr-x 17 bin 134 Apr 7 2002 /usr/bin/hash
188 -r-xr-xr-x 4 root 95488 Apr 7 2002 /usr/bin/jsh
416 -r-xr-xr-x 3 bin 201052 Feb 11 2004 /usr/bin/ksh
336 -r-xr-xr-x 2 bin 159344 Dec 12 2003 /usr/bin/pfcsh
416 -r-xr-xr-x 3 bin 201052 Feb 11 2004 /usr/bin/pfksh
188 -r-xr-xr-x 4 root 95488 Apr 7 2002 /usr/bin/pfsh
2 lrwxrwxrwx 1 root 5 Jul 12 2004 /usr/bin/remsh -> ./rsh
416 -r-xr-xr-x 3 bin 201052 Feb 11 2004 /usr/bin/rksh
18 -r-sr-xr-x 1 bin 9176 Apr 7 2002 /usr/bin/rsh
188 -r-xr-xr-x 4 root 95488 Apr 7 2002 /usr/bin/sh
1680 -r-xr-xr-x 1 bin 851920 Sep 13 2003 /usr/bin/ssh
720 -r-xr-xr-x 1 bin 358848 Mar 2 2002 /usr/bin/tcsh
944 -r-xr-xr-x 1 bin 474736 Mar 2 2002 /usr/bin/zsh
[hf@sunchen] ~ > ll /usr/xpg4/bin/sh
416 -r-xr-xr-x 1 bin 200316 Feb 11 2004 /usr/xpg4/bin/sh
[hf@sunchen] ~ > uname -a
SunOS sunchen 5.9 Generic_112233-12 sun4u sparc SUNW,Ultra-1
[hf@sunchen] ~ >
From comparing the sizes, it may be a ksh, but it's not identical.
hauke
--
/~\ The ASCII Ribbon Campaign
\ / No HTML/RTF in email
X No Word docs in email
/ \ Respect for open standards