On Sat, Jun 22, 2002 at 03:06:38AM -0400, Clint Adams wrote:
> > As far as I can tell there are two possibilities here:
> >     (a) "it" is pdksh or posh, and it already works at least as well
> >         as ash on the various #!/bin/sh scripts in Debian, or
> It is pdksh.
> >     (b) "it" is pdksh or posh or similar, and it doesn't yet work as
> >         well as ash on the various #!/bin/sh scripts in Debian, due to
> >         various POSIX extensions that we use and it doesn't support
> It is posh.

Make up your mind. "It" is whatever you were referring to when you said:

] It gives you a smaller,
] faster-loading shell and it supports brace expansions, which are the
] number one bug filed against #!/bin/sh scripts.

If you mean pdksh, and it works just as well as ash does now, then you
can replace "ash and bash" with "ash, pdksh and bash" where I've said
it previously.

> So now the arbitrary criterion is "breaks on less scripts than ash"?

No the criterion is "works right now without lots of packages being forced
to change or having to teach maintainers how to do things differently". We
did that for bash -> ash with things like $[ ] and so forth, and there
was a positive reason why we should: ash is smaller and faster. If you'd
like maintainers to go out of their way to learn other new things, like
using && and || instead of -a and -o or \c instead of -n, then you should
provide a similar justification.

If you want everyone to do stuff for you, at least do us the courtesy
of explaining why doing it that way is a win.

> gnumail won't run if /bin/sh is ash.
> The gnumail maintainer should
> a) make the script POSIX-compliant
> b) make the script a #!/bin/bash script
> c) do neither and complain

d) make the script work on ash, so people can use ash as /bin/sh and
have it use a little less memory or run a little quicker.

Cheers,
aj

-- 
Anthony Towns <[EMAIL PROTECTED]> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. GPG signed mail preferred.

     ``BAM! Science triumphs again!'' 
                    -- http://www.angryflower.com/vegeta.gif

Attachment: pgpWftNHruisF.pgp
Description: PGP signature

Reply via email to