[Top][All Lists]

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

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

From: Shigio YAMAGUCHI
Subject: Re: [feature request] Colouring matches in --result=grep outputs
Date: Wed, 10 Jul 2013 05:44:43 +0900

On Tue, 09 Jul 2013 23:33:20 +1000
Jason Hood <address@hidden> wrote:

> 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.

I agree with you.
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

reply via email to

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