bug-grep
[Top][All Lists]
Advanced

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

bug#55641: Using colours with grep


From: Paul Eggert
Subject: bug#55641: Using colours with grep
Date: Thu, 26 May 2022 19:16:58 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0

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?





reply via email to

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