Enrico Franconi wrote:
> On June 4, Warren Pollans writes:
> 
>>wait a minute!  /bin/sh and /bin/zsh seem to be the same file   ???
> 
> 
> Aaargh! How comes? That's true for me as well:
> 
> 
>>ls -al /bin/sh /bin/zsh
> 
> -r-xr-xr-x    1 root     wheel      449616 Dec 26 04:10 /bin/sh*
> -rwxr-xr-x    1 root     wheel      449616 Dec 26 04:10 /bin/zsh*
> 
>>diff /bin/sh /bin/zsh

That's standard. Most versions of Unix, Linux, and now OSX all seem to have
their "Bourne shell" in /bin/sh as a copy of another shell. Frequently this
is a modern, enhanced shell like bash, zsh, or ksh running in a minimal 
mode
for Bourne compatibility. Sometimes it's the same file (with hard or soft
links), but in this case it's just a separate duplicate of /bin/zsh.

This is normal & usually not a problem. Mainly it's an issue if a script
relies on (or is vulnerable to) a slight incompatibility in the way one or
another modern shell emulates the original Bourne shell, and switching the
default shell (here, zsh) for say bash can bring out latent problems that
were arguably there dormant all along.


-- 
Chris Devers                             [EMAIL PROTECTED]
Systems Administrator, Unix advertising systems, Boston.com


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to