In a message dated: Mon, 19 Jun 2000 11:50:02 EDT
"Jerry Feldman" said:

>I tend to agree that shell scripts should be written to the sh standard,, 
>but even there you run into variants between SYSV and BSD variants. I 
>try to test my scripts on both ksh and bash since most of the systems I 
>use have at least one of these two. One problem I have at the moment is 
>that my login scripts on TRU64 were written for ksh, and cause some 
>warnings under bash when I login to a Linux system where my preferred 
>shell is bash.  

To my knowledge, there's only 1 Bourne shell, and since it came from AT&T, I 
would expect that to be SYSV (same with ksh, since Steven Korn was also of
AT&T).  I've never heard of a BSD variant of the Bourne shell, nor a BSD 
variant of the Korn shell.  Csh is just the result of a good hacker smoking 
too much crack (keep in mind Bill Joy:

        A) went to Berkeley (need I say more :)
        B) is the same guy who came up with vi!)

I have heard of the "Posix" shell which is often times /bin/sh, but anything 
written for the one, true Bourne shell will work under the Posix sh (but not 
vice-versa).

Of course, this just goes to prove my point:

        When in doubt, write it in perl!

it's the same everywhere :)
-- 
Seeya,
Paul
----
        "I always explain our company via interpretive dance.
             I meet lots of interesting people that way."
                                          Niall Kavanagh, 10 April, 2000

         If you're not having fun, you're not doing it right!



**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to