bug-grep
[Top][All Lists]
Advanced

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

Re: GREP_COLORS variable is not used by grep


From: Paolo Bonzini
Subject: Re: GREP_COLORS variable is not used by grep
Date: Wed, 03 Oct 2012 11:27:52 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1

Il 24/09/2012 21:34, Αναστασίου Γεώργιος ha scritto:
> Hi,
> I am using grep 2.14,and when i export GREP_COLORS="7",grep leaves the
> default for colorizing when using grep.Alias has been made for grep with
> grep="grep --color=auto".Tried to use GREP_COLOR instead,and it is working.
> Can you help me with this?

GREP_COLORS has a different syntax, which is described in the manual.
For example, the default settings for "grep --color" correspond to this
GREP_COLORS value:

ms=01;31:mc=01;31:sl=:cx=:fn=35:ln=32:bn=32:se=36

Paolo



reply via email to

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