GNU bug report logs - #55641
Using colours with grep

Previous Next

Package: grep;

Reported by: goncholden <goncholden <at> protonmail.com>

Date: Wed, 25 May 2022 20:49:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: goncholden <goncholden <at> protonmail.com>
Cc: 55641 <at> debbugs.gnu.org
Subject: bug#55641: Using colours with grep
Date: Thu, 26 May 2022 19:16:58 -0700
On 5/25/22 13:48, goncholden via Bug reports for GNU grep wrote:
> Have been using grep to colour the filename printed by tail using grep, by setting GREP_COLOR.  However the setting does not work with GREP_COLORS.
> 
> Additionally, I could not set colour values with tput commands.
> 
> tail -v -n "$tm" $file | GREP_COLOR='01;32' $_GREP -e ^ -e '^==> .* <==$'

Sorry, I'm not following. Can you give a test case that I can reproduce 
here?




This bug report was last modified 2 years and 319 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.