Re: PATCH [0/3]: Simplify the kernel build by removing perl.

Theodore Tso
2009-01-02T14:05:26Z

On Fri, Jan 02, 2009 at 06:56:31AM -0600, Rob Landley wrote:
> That said, how is bash _worse_ than perl? (Where's the second
> implementation of perl? Even Python had jython, but perl
> has... what? The attempt to rebase on Parrot went down in
> flames...)

(1) bash implies POSIX extensions; perl is actually quite portable.

(2) There are distributions that install with perl by default but not
bash; they use dash for speed reasons.

Sounds like though modulo dealing with 64-bit arithmetic, your patches
are mostly dash/POSIX.2 comformant, so you're probably mostly good on
that front once you address the 32/64-bit issues. I'd also suggest
explicitly add a reminder to the shell scripts' comments to avoid
bashisms for maximum portability, to remind developers in the future
who might try to change the shell scripts to watch out for portability
issues.

- Ted