Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Jul 2000 14:57:00 -0400
From:      "Richard E. Hawkins" <hawk@fac13.ds.psu.edu>
To:        Harry Woodward-Clarke <Harry.Woodward-Clarke@S1.com>
Cc:        keith@mail.telestream.com, freebsd-questions@FreeBSD.ORG
Subject:   Re: grep 
Message-ID:  <200007031857.OAA48974@fac13.ds.psu.edu>
In-Reply-To: Your message of "Mon, 03 Jul 2000 12:07:53 %2B1000." <395FF579.5E006CDE@S1.com> 

next in thread | previous in thread | raw e-mail | index | archive | help


> > 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.

> where '-e PATTERN' can be repeated a number of times :')

also, you can use 

  grep -f filename

where filename has a list of matches.

  man grep 

would also be a useful thing to do.  So is 

  man ed

which has plenty of useful information on regexps





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?200007031857.OAA48974>