Re: bashisems in maintainer scripts.
On Tue, Mar 02, 2004 at 08:34:49PM -0500, Clint Adams wrote:
> > I forgot to mention that I'd be happy to do script-fixing for people
> > that wants help with it. I can't promise to be able to replace all
> > bash-scripts with sh-scripts, because I suspect bash is capable of all
> > sort of nasty things, but I'll do my best.
> I think you'll find that most of the #!/bin/bash scripts are either
> POSIX-conformant, are POSIX-conformant except for brace expansions or
> -a/-o binary operators to test/[, or non-conformant syntax for
> kill/trap. The same is true of #!/bin/sh scripts, except for the brace
> expansion (thanks to ash/dash choking on it).
A lot of /bin/bash seems to have the non-posix syntax for functions too,
but that's trivial to fix.
Regards: David Weinehall
/) David Weinehall <firstname.lastname@example.org> /) Northern lights wander (\
// Maintainer of the v2.0 kernel // Dance across the winter sky //
\) http://www.acc.umu.se/~tao/ (/ Full colour fire (/