Chet Ramey <chet.ra...@case.edu> writes: >> On Wed, Mar 11, 2009 at 09:50:18PM -0400, m...@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, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."