Re: grep trick

2008-04-11 Thread Kamaraju S Kusumanchi
Osamu Aoki wrote: > > Also, "GREP_COLORS" should be used instead of "GREP_COLOR". I just now checked the man page of grep 2.5.3~dfsg-5 in unstable. It looks like GREP_COLORS is newly introduced deprecating the use of GREP_COLOR. GREP_COLORS did not exist in grep 2.5.1.ds2-6 (for Etch). Thanks fo

Re: grep trick

2008-04-11 Thread Osamu Aoki
On Mon, Apr 07, 2008 at 10:58:43PM -0400, Kamaraju S Kusumanchi wrote: > Rich Healey wrote: > > > Mike Bird wrote: > >> On Mon April 7 2008 16:03:28 Chris Bannister wrote: > >>> export GREP_COLOR=33 > >>> alias grep='grep --colour=always' > >> > >> This will break any scripts which assume that th

Re: grep trick

2008-04-10 Thread Joost Witteveen
On 09/04/2008, Chris Bannister <[EMAIL PROTECTED]> wrote: > On Tue, Apr 08, 2008 at 10:22:08AM +1000, Rich Healey wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > Mike Bird wrote: > > > On Mon April 7 2008 16:03:28 Chris Bannister wrote: > > >> export GREP_COLOR=33 > > >>

Re: grep trick

2008-04-09 Thread Chris Bannister
On Tue, Apr 08, 2008 at 10:22:08AM +1000, Rich Healey wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Mike Bird wrote: > > On Mon April 7 2008 16:03:28 Chris Bannister wrote: > >> export GREP_COLOR=33 > >> alias grep='grep --colour=always' > > > > This will break any scripts which as

Re: grep trick

2008-04-09 Thread Chris Bannister
On Mon, Apr 07, 2008 at 06:49:20PM -0500, Kevin Monceaux wrote: > On Tue, 8 Apr 2008, Chris Bannister wrote: >> You can always try different values of GREP_COLOR. Although I can't >> seem to get yellow. > > After another moment of Googling, for yellow, use: > > setenv GREP_COLOR '1;33' > > or your

Re: grep trick

2008-04-07 Thread Kamaraju S Kusumanchi
Rich Healey wrote: > Mike Bird wrote: >> On Mon April 7 2008 16:03:28 Chris Bannister wrote: >>> export GREP_COLOR=33 >>> alias grep='grep --colour=always' >> >> This will break any scripts which assume that the output >> of grep has not been annotated with color escape sequences. >> > Those scr

Re: grep trick

2008-04-07 Thread Rich Healey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike Bird wrote: > On Mon April 7 2008 16:03:28 Chris Bannister wrote: >> export GREP_COLOR=33 >> alias grep='grep --colour=always' > > This will break any scripts which assume that the output > of grep has not been annotated with color escape sequenc

Re: grep trick

2008-04-07 Thread Kevin Monceaux
Chris, On Tue, 8 Apr 2008, Chris Bannister wrote: In your .bashrc put: export GREP_COLOR=33 alias grep='grep --colour=always' Very cool tip!! In my case, however, my .cshrc file might be a better choice since I don't use bash, and of course the syntax is different. As someone else pointed

Re: grep trick

2008-04-07 Thread Mike Bird
On Mon April 7 2008 16:03:28 Chris Bannister wrote: > export GREP_COLOR=33 > alias grep='grep --colour=always' This will break any scripts which assume that the output of grep has not been annotated with color escape sequences. --Mike Bird -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a

Re: grep trick

2008-04-07 Thread mike
Chris Bannister wrote: Hi, If you work on the command line, here is a handy grep trick. In your .bashrc put: export GREP_COLOR=33 alias grep='grep --colour=always' You can always try different values of GREP_COLOR. Although I can't seem to get yellow. Remember to:

grep trick

2008-04-07 Thread Chris Bannister
Hi, If you work on the command line, here is a handy grep trick. In your .bashrc put: export GREP_COLOR=33 alias grep='grep --colour=always' You can always try different values of GREP_COLOR. Although I can't seem to get yellow. Remember to: source .bashrc b