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

Re: ash vs. bash

Carlo Strozzi wrote:
> On Mon, Jul 19, 1999 at 12:21:49AM +0100, Julian Gilbey wrote:
>  >> [...]
>  >> system() instructions fork /bin/sh). Programs that expect system(3) to
>  >> use a real bourne shell may fail if /bin/sh links to bash. Netscape is
>  >> one of those, as it starts external players with "sh -c ((player %s); rm %s)"
>  >> and the '((' chunk triggers bash's arithmetical expansion code, instead.
>  >
>  >Huh??
>  >
>  >$ bash -c "((echo hello); echo goodbye)"
>  >hello
>  >goodbye
>  >$
> Oh, it has probably been fixed in recent versions of bash. This is something
> that use to happen to me one year ago or so, I have not checked recently.
> I apologieze. My main point was about speed though.

Cool.  Well, I had another testimonial off-list by Steve Lamb, who uses
ash as his /bin/sh.

Anyone think of a reason why we shouldn't make this policy (does it have
to be policy, or can we just do it?)


Reply to: