bug-global
[Top][All Lists]
Advanced

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

Re: [feature request] Colouring matches in --result=grep outputs


From: Jason Hood
Subject: Re: [feature request] Colouring matches in --result=grep outputs
Date: Tue, 09 Jul 2013 23:33:20 +1000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4

On 5/07/2013 16:58, Shigio YAMAGUCHI wrote:
> If it is needed, how about --nocolor option.

I was thinking this would be needed if you normally have it set
through the environment, but want to turn it off for a redirection.
Rather than --nocolor, it may be better to go the whole hog and do
exactly what grep does: --color[=auto|always|never], where auto
decides based on isatty.  Then you would probably just have --color
in the environment, and override it as appropriate.

-- 
Jason.



reply via email to

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