From owner-freebsd-questions Mon Jun 5 17:58:28 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rdc1.sdca.home.com (ha1.rdc1.sdca.home.com [24.0.3.66]) by hub.freebsd.org (Postfix) with ESMTP id 6CE9C37B936 for ; Mon, 5 Jun 2000 17:58:24 -0700 (PDT) (envelope-from RaymundoVega@home.com) Received: from home.com ([24.5.252.61]) by mail.rdc1.sdca.home.com (InterMail vM.4.01.02.00 201-229-116) with ESMTP id <20000606005823.ZKYU28251.mail.rdc1.sdca.home.com@home.com>; Mon, 5 Jun 2000 17:58:23 -0700 Message-ID: <393C4CAE.75FA1EB8@home.com> Date: Mon, 05 Jun 2000 17:58:22 -0700 From: "Raymundo M. Vega" X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Glenn Johnson Cc: questions@FreeBSD.ORG Subject: Re: searching for tab characters in grep References: <20000605165406.A16195@node1.cluster.srrc.usda.gov> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 charater is , if you use C shell you have to key "" quotes included so it will look like: grep "^V^I" filename actually if i remember right the control V does not echo.. raymundo > > Thanks. > > -- > Glenn Johnson > USDA, ARS, SRRC Phone: (504) 286-4252 > New Orleans, LA 70124 e-mail: gjohnson@nola.srrc.usda.gov > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message