bug-bash
[Top][All Lists]
Advanced

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

Re: Issues with exported functions


From: Alexandre Ferrieux
Subject: Re: Issues with exported functions
Date: Sat, 27 Sep 2014 01:47:56 -0700 (PDT)
User-agent: G2/1.0

On Saturday, September 27, 2014 8:19:49 AM UTC+2, Eric Blake wrote:
> 
> I am also in favor of both approaches - moving shell functions into a
> non-colliding namespace (so that arbitrary contents of regular variables
> CANNOT trigger parser bugs) and making shell function exports
> configurable and off by default.

On that second point: an even lower-hanging fruit is "off by default when 
invoked as sh". Regardless of bash's evolution, let's stop jeopardizing the 
very life of the overwhelming mass of #!/bin/sh scripts. Please.

-Alex

PS: Dunno whether CGI will ever recover from this week's blow. The sh-bash 
confusion is the real murderer of that innocent victim.


reply via email to

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