bug-bash
[Top][All Lists]
Advanced

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

Re: new redirection operator seems broken


From: Chet Ramey
Subject: Re: new redirection operator seems broken
Date: Thu, 12 Mar 2009 09:54:11 -0400

> On Wed, Mar 11, 2009 at 09:50:18PM -0400, Matt@ice.filescope.com wrote:
> >             rm 2>&1 | grep --color op
> >             rm |& grep --color op
> > 
> >     Notice that they are behaving differently.
> 
> Confirmed in 4.0.0 and 4.0.10:

Interesting.  Only for non-builtin simple commands and some shell functions.
The attached patch fixes it for me.

Chet


Attachment: bar-and-piping
Description: Text document

``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    chet@case.edu    http://tiswww.tis.case.edu/~chet/

reply via email to

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