[Top][All Lists]

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

Re: grep colour usage

From: Julian Foad
Subject: Re: grep colour usage
Date: Tue, 10 May 2005 09:10:01 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b) Gecko/20050217

(Grep now has its own mailing list, so I'm redirecting this to it.)

Amit Kucheria wrote:
I have defined GREP_COLOR in my environment. The colour shows up using
grep without any options but doesnt show when using grep with -i or -r

Thank you for reporting a problem, but you need to provide more information before we can reproduce and diagnose the problem. What exactly are the commands and input that worked and did not work? What is the value of GREP_COLOR?

There are lots of bugs with "--color" and "-i" and "--only-matching" in Grep v2.5.1, so you might well have encountered one of them. They are being fixed in CVS but there is no newer released version yet.

- Julian

Following is my system configuration.

$ grep -V
grep (GNU grep) 2.5.1
$ uname -a
Linux sauron 2.6.11amit #1 Wed Apr 6 14:20:54 EEST 2005 i686 GNU/Linux
$ cat /etc/issue
Debian GNU/Linux 3.1 \n \l

reply via email to

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