[Techtalk] bash and sh

Dan dan at cellectivity.com
Thu May 5 23:42:27 EST 2005


I have a question that's more theoretical than practical, but it's
important to me to know.

Many scripts start with #!/bin/sh, but proceed to do things that aren't
compatible with shells like tcsh. Even a normal "if" statement isn't the
same between the two shells.

So the question is: does The Standard require sh to be similar to bash,
or would it be equally correct for sh to be a symbolic link to tcsh or
zsh?

-- 
  If at first you don't succeed - skydiving is not for you.
             - submitted by Nancy Greer
               to the CleanStuff mailing list




More information about the Techtalk mailing list