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: tbagg
Subject: Re: reversal of brace vs process expansion needs compatibility option
Date: Fri, 05 Mar 2010 11:59:33 -0600
User-agent: Heirloom mailx 12.4 7/29/08

Chet Ramey <address@hidden> wrote:

> 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    address@hidden    http://cnswww.cns.cwru.edu/~chet/
Well, I'm adding an option.




reply via email to

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