GOTCHA in Ubuntu - broken shell
Ben Scott
dragonhawk at gmail.com
Mon Oct 1 10:06:42 EDT 2007
On 10/1/07, Tom Buskey <tom at buskey.name> wrote:
> Scripting non-bourne shell stuff with #!/bin/sh at the top *should* break.
Ah, yes, maximum pain as a design goal. :-(
> If you want bash or ksh, use #!/bin/bash or #!/bin/ksh.
What about an extension feature that exists in more than one
implementation, but is not part of POSIX?
What about the "range of acceptable implementations" problem of the
POSIX standard that Fran Fadden pointed out?
> If it doesn't exist in /bin, put it there where it belongs.
So now shell scripts are totally unportable.
> I've been shell scripting for awhile on multiple OSen.
Yah, and it sucks. Linux should aim to succeed where other *nixes
fail, and not suck.
I don't want a sequel to the Unix Wars.
-- Ben
More information about the gnhlug-discuss
mailing list