On 25 Jan 2002, Guillaume Cottenceau wrote:

> > > > --=-=-=
> > > > Name        : grep                         Relocations: (not relocateable)
> > > > Version     : 2.5                               Vendor: MandrakeSoft
> > > > Release     : 0.f.1mdk                      Build Date: Thu Jan 24 22:41:36 
>2002
> > > 
> > > It supports coloured output. Here's what you can add to your
> > > ~/.bashrc :
> > > 
> > > alias grep="grep --color=tty -I -s"
> > > 
> > > I don't like the default red colour, so here's how to set to the
> > > "bold" colour (coral as for me ;p)
> > > 
> > > export GREP_COLOR="01;38"
> > 
> > This is k00l! Is it documented how to set GREP_COLOR env variable?
> 
> Write the upper line in your ~/.bashrc and re-login.

Sorry that I didn't make my question clear. What I want to ask is the
format of GREP_COLOR variable. Sounds like it's an ASCII escape
sequence; but is it documented? Seems the mirror I'm using doesn't have
the newest grep yet, so no way to test it for now...

Abel


Reply via email to