Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jun 2000 16:04:10 -0600
From:      Chris Fedde <chris@fedde.littleton.co.us>
To:        Glenn Johnson <gjohnson@nola.srrc.usda.gov>
Cc:        questions@FreeBSD.ORG
Subject:   Re: searching for tab characters in grep 
Message-ID:  <200006052204.e55M4A110918@fedde.littleton.co.us>
In-Reply-To: <20000605165406.A16195@node1.cluster.srrc.usda.gov> 

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 5 Jun 2000 16:54:06 -0500  Glenn Johnson wrote:
 +------------------
 | I know this is probably a stupid question but I can not find the
 | answer. How do I search for a pattern with grep when the pattern
 | contains tab characters. I have tried using \t but it does not work.
 +------------------

The tab character is generated using ctrl-I (ie hold down the ctrl key and
press I).  Most shells allow you to insert a "litteral" control character by
preceding it with a ctrl-V.

chris

--
    Chris Fedde
    303 773 9134


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006052204.e55M4A110918>