bug-bash
[Top][All Lists]
Advanced

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

Re: Bash4: Problem retrieving "$?" when running with "-e"


From: Linda Walsh
Subject: Re: Bash4: Problem retrieving "$?" when running with "-e"
Date: Wed, 17 Apr 2013 18:04:43 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.24) Gecko/20100228 Lightning/0.9 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666


Chet Ramey wrote:
>
> There has been extensive discussion of the changes to -e between bash-3.2
> and bash-4.0, which brought bash closer to Posix.  Bash wasn't totally
> Posix-conformant until bash-4.2.
----
    What I don't understand is why this change in functionality wasn't
limited to POSIX mode in BASH to preserve compatibility?  It's not
that it *can't* be worked around, but with all the changes in the 4.x
series, its as bad as trying to use Unicode sources and data w/Perl
(which has changed, incompatibly, multiple times since 5.6 in
that area as well as others).


    That fact that POSIX changed the meaning, to, no longer reflect actual
and historic usage doesn't mean the "Bourne-Again SHell had to follow suit
for it's normal operations. 

Interesting how how POSIX, historically, was "descriptive" --
but once people accepted the standard, it's so interesting how they
changed to be prescriptive and proscriptive.

-𝓛






reply via email to

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