[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new redirection operator seems broken
From: |
Andreas Schwab |
Subject: |
Re: new redirection operator seems broken |
Date: |
Thu, 12 Mar 2009 17:21:04 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) |
Chet Ramey <chet.ramey@case.edu> writes:
>> 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.
Still does not fix this case:
$ echo >&2 |& wc -l
0
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- new redirection operator seems broken, Matt, 2009/03/12
- Re: new redirection operator seems broken, Greg Wooledge, 2009/03/12
- Re: new redirection operator seems broken, Chet Ramey, 2009/03/12
- Re: new redirection operator seems broken,
Andreas Schwab <=
- Re: new redirection operator seems broken, Greg Wooledge, 2009/03/12
- Re: new redirection operator seems broken, Andreas Schwab, 2009/03/12
- Re: new redirection operator seems broken, Chet Ramey, 2009/03/12
- Re: new redirection operator seems broken, Greg Wooledge, 2009/03/12
- Re: new redirection operator seems broken, Chet Ramey, 2009/03/12
- Re: new redirection operator seems broken, Pierre Gaston, 2009/03/13