bug-bash
[Top][All Lists]
Advanced

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

Re: Why tab is not colored?


From: DennisW
Subject: Re: Why tab is not colored?
Date: Tue, 04 May 2010 15:48:40 -0000
User-agent: G2/1.0

On Mar 7, 10:20 am, Peng Yu <pengyu...@gmail.com> 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?

If you grep for a space or a newline, they don't get highlighted
either. That's just the way it works. To colorize "whitespace" grep
would have to set the background color.

Also, as Bob said, this is a Bash list, not a grep one.


reply via email to

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