From owner-freebsd-questions Sun Jul 2 19: 8:19 2000 Delivered-To: freebsd-questions@freebsd.org Received: from watson.ficsgrp.com (watson.ficsgrp.com [194.74.111.3]) by hub.freebsd.org (Postfix) with ESMTP id 884F437BECD for ; Sun, 2 Jul 2000 19:08:15 -0700 (PDT) (envelope-from harry.woodward-clarke@s1.com) Received: from mail.au.ficsgrp.com ([194.74.111.35]) by watson.ficsgrp.com (Netscape Messaging Server 3.6) with ESMTP id AAA4E5D for ; Mon, 3 Jul 2000 04:08:11 +0200 Received: from S1.com ([172.16.48.219]) by mail.au.ficsgrp.com (Netscape Messaging Server 3.6) with ESMTP id 377; Mon, 3 Jul 2000 12:11:50 +1000 Message-ID: <395FF579.5E006CDE@S1.com> Date: Mon, 03 Jul 2000 12:07:53 +1000 From: Harry Woodward-Clarke X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: keith@mail.telestream.com Cc: freebsd-questions@freebsd.org Subject: Re: grep References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Keith, > > Possibly a very stupid question here so be kind. :-) hmmmm... ok, just this once ;') > Is it possible to grep for multiple items within one grep statement > yup. Oh! You want the information too? ;') $ grep -e PATTERN where '-e PATTERN' can be repeated a number of times :') hth, haxxa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message