[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.
- Re: [feature request] Colouring matches in --result=grep outputs, Jason Hood, 2013/07/02
- Re: [feature request] Colouring matches in --result=grep outputs, Leo Liu, 2013/07/02
- Re: [feature request] Colouring matches in --result=grep outputs, Shigio YAMAGUCHI, 2013/07/03
- Re: [feature request] Colouring matches in --result=grep outputs, Jason Hood, 2013/07/04
- Re: [feature request] Colouring matches in --result=grep outputs, Shigio YAMAGUCHI, 2013/07/05
- Re: [feature request] Colouring matches in --result=grep outputs, Shigio YAMAGUCHI, 2013/07/05
- Re: [feature request] Colouring matches in --result=grep outputs, Jason Hood, 2013/07/05
- Re: [feature request] Colouring matches in --result=grep outputs, Shigio YAMAGUCHI, 2013/07/05
- Re: [feature request] Colouring matches in --result=grep outputs,
Jason Hood <=
- Re: [feature request] Colouring matches in --result=grep outputs, Shigio YAMAGUCHI, 2013/07/09
- Re: [feature request] Colouring matches in --result=grep outputs, Jason Hood, 2013/07/10
- Re: [feature request] Colouring matches in --result=grep outputs, Shigio YAMAGUCHI, 2013/07/10
- Re: [feature request] Colouring matches in --result=grep outputs, Jason Hood, 2013/07/10