[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bashisems in maintainer scripts.

> 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).

Reply to: