[Top][All Lists]

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

Re: Why tab is not colored?

From: Paolo Bonzini
Subject: Re: Why tab is not colored?
Date: Mon, 08 Mar 2010 09:59:19 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100120 Fedora/3.0.1-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.1

On 03/07/2010 05:21 PM, Peng Yu wrote:
My grep is aliased to "grep --color=auto".

I then use grep "<TAB>", where<TAB>  is a tab character. But the
result is not colored. How to make the tabs colored?

Tabs are "white space" and as such cannot really be colored with the default setting of making matches red-on-black. You can use

GREP_COLORS='ms=41:mc=41' grep --color '<tab>'

to make tabs stand out in the matched text.


reply via email to

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