dash ( and the new world order )
Micah J. Cowan
micah at cowan.name
Fri Sep 15 16:59:21 BST 2006
On Fri, Sep 15, 2006 at 10:53:04AM +0200, Pavel Rojtberg wrote:
> Brandon Holtsclaw wrote:
> > I know its not "right" for them to expect non-posix from a /bin/sh but
> > it has been there for so long on so many systems its become defacto and
> > there isn't anything wrong with either way.
> for one it does not behave like described in the POSIX standard and
> additionally it is slower, so I would say it is wrong.
Hmm? In what way does bash violate POSIX? I can't think of a thing, and
bash is generally very careful not to.
> And I still fail to see the third-party argument. If they don't want to
> get speed improvements/ rewrite their code, all they have to do is add
> "ba" to "/bin/sh" and they're done.
Well, this isn't entirely fair to Makefile-writers, who honestly cannot
do this. But these are exactly the ones who, since they can't "choose"
their shell, should never be assuming anything beyond POSIX, unless they
want to explicitly invoke $(shell /bin/bash -c ...) :-/
--
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/
More information about the ubuntu-devel
mailing list