On 2008-12-07 01:41:18 +0100, Loïc Minier wrote:
> On Sat, Dec 06, 2008, Thomas Dickey wrote:
> > It might make sense if its output were to a terminal (rather than,
> > as one might expect, redirected to a file or pipe).
> 
>  I thought the same, but in this bug report a grep maintainer mentionned
>  he was using grep --color=always with pipes  :-/

Anyway colors are terminal-dependent. So, I'd say that when colors are
used, grep should assume that the output will end up to the current
terminal (as specified by $TERM).

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to