From owner-freebsd-questions Mon Jun 5 15: 4:16 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fedde.littleton.co.us (fedde.littleton.co.us [216.17.174.44]) by hub.freebsd.org (Postfix) with ESMTP id 13B1B37B515 for ; Mon, 5 Jun 2000 15:04:14 -0700 (PDT) (envelope-from cfedde@fedde.littleton.co.us) Received: from fedde.littleton.co.us (localhost [127.0.0.1]) by fedde.littleton.co.us (8.10.0/8.10.0) with ESMTP id e55M4A110918; Mon, 5 Jun 2000 16:04:10 -0600 (MDT) Message-Id: <200006052204.e55M4A110918@fedde.littleton.co.us> To: Glenn Johnson Cc: questions@FreeBSD.ORG Subject: Re: searching for tab characters in grep In-Reply-To: <20000605165406.A16195@node1.cluster.srrc.usda.gov> From: Chris Fedde Date: Mon, 05 Jun 2000 16:04:10 -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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