bug-bash
[Top][All Lists]
Advanced

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

Re: reversal of brace vs process expansion needs compatibility option


From: Chet Ramey
Subject: Re: reversal of brace vs process expansion needs compatibility option
Date: Thu, 04 Mar 2010 22:43:20 -0500
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1

On 3/4/10 3:43 AM, Ted Bagg wrote:
> Dear Bash maintainers, this very useful construct worked in 3.2:
> 
> diff  <(sort {a,b}.lst)
> 
> but fails in 4.0, breaking scripts for many, no doubt.  Such a
> substantive change (much more harm than good, in my opinion) ought
> always to come with an option to revert to the previous behavior.

You're certainly entitled to your opinion, but I judged the previous
behavior a bug (helped in no small part by the number of bug reports
I received about it) and fixed it.  It defied user expectations and
was not consistent with the treatment of $(...).  When I fix a bug,
I don't generally add an option to enable the old behavior.

(Yours is the first complaint I've received about the change in the
year-plus since bash-4.0 was released, by the way.)

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

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