bug-grep
[Top][All Lists]
Advanced

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

How to display different match by different color?


From: Peng Yu
Subject: How to display different match by different color?
Date: Mon, 21 Nov 2011 23:59:03 -0600

Hi,

Suppose that I run, I'd like to show the match of 'abc' and 'efg'
differently. Is there a way to do so with grep?

grep --color=auto  'abc|efg' file.txt

-- 
Regards,
Peng



reply via email to

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