bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: not a grep bug, but...


From: Ian Lance Taylor
Subject: Re: not a grep bug, but...
Date: 16 Jan 2002 00:07:55 -0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Charlie Root <address@hidden> writes:

> Not a grep bug, but hell if I can figure out how to make
> grep search for a tab.
> It's not:
> grep \t *
> grep \011 *
> grep ^t *
> grep ^v^t *
> grep [\09] *
> etc.
> 
> Apologies for bothering you.

You're trying to be too clever.  Do this:

grep '<TAB>' *

Where I typed <TAB>, press the tab key.  If you are using bash, you
may need to type ^V first.

Note that tab is not ^T; it is ^I.

Ian



reply via email to

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