bug-grep
[Top][All Lists]
Advanced

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

bug#22656: How to grep two patterns in a line with correct coloring?


From: Paul Eggert
Subject: bug#22656: How to grep two patterns in a line with correct coloring?
Date: Sun, 10 Apr 2016 22:54:21 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

Zev Weiss wrote:
The original question asked about colorizing both patterns in the output of

  grep word1 | grep word2

(i.e. lines that contain *both* word1 and word2)

I interpreted the original question the other way. Now that I reread it, it appears to be ambiguous.

This bug report does have the flavor of someone trying to use debbugs.gnu.org to solve a homework problem, which means I should probably stop now....





reply via email to

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