[Top][All Lists]

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

Re: Detecting invocation as /bin/sh ?

From: Alexandre Ferrieux
Subject: Re: Detecting invocation as /bin/sh ?
Date: Tue, 30 Sep 2014 04:00:16 -0700 (PDT)
User-agent: G2/1.0

On Tuesday, September 30, 2014 2:42:33 AM UTC+2, Chet Ramey wrote:
> On 9/29/14, 7:53 PM, Alexandre Ferrieux wrote:
> > [bash -p] *does* disable that embarrassing nightmare of a misfeature that 
> > is function import: 
> I guess if that's what you mean by "just the sh", then yes, it does.
> That's a unique interpretation.

You may deem this a peculiar interpretation, but it might be shared by the 
overwhelming crowd of those who never noticed (before last week)  1/ that bash 
was "powering" their decades-old init scripts and CGIs and 2/ that bash evalled 
something from the env. The consequence of all this might well be a switch.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]