On Mon, 26 Apr 1999, Doug McLaren wrote:

> | > Broken shell scripts and non portable code are the result of lame
> | > programmers, not Linux's use of bash.  He must never have seen AIX!
> | 
> |    NetBSD uses ash and csh for most everything, Linux uses Bash, and AIX
> | uses the Korn shell.  There are differences between them.  AIX uses
> | nothing but regular Korn shell which has very well documented behavior. 
> 
> If you write shell scripts in csh, you get what you deserve.

   Wow, what does this have to do with what we're talking about?  

> AIX does indeed use the Korn shell, and /bin/sh is really the Korn
> shell.

   No, /bin/sh is the Posix shell.  Guess which ones fit that category.

> If you want the Bourne shell, you need to use /bin/bsh.
> Causes about the same number of problems as Linux's /bin/sh being bash
> rather than the Bourne shell.

   If you want to use NetBSD ash as your /bin/sh, go ahead.  I can even
send you some patches to make it almost usable.  You won't gain anything
though.  Neither would AIX in switching off the Korn shell (not that the
set -o vi ibm people would consider it).  The differences are small enough
and obscure enough that one could learn them and fix anything rare
problems.  And any modest shell script may use programs that differ
slightly from one system to another.  Even GNU true and false act
differently than AIX true and false, and these programs don't even do
anything.  
   Anyways, you are free to use ash instead and make all your horrid
problems go away.  Same on AIX too.  Install Linux Router as your base
installation, so you can be free of bash and it's troubles.

   Adam

---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]

Reply via email to