[Nolug] gepping multiple strings

From: Ron Johnson <ron.l.johnson_at_cox.net>
Date: 03 Mar 2003 05:50:26 -0600
Message-Id: <1046692226.2711.200.camel@haggis>

Hi,

How do I specify "and" and "or" qualifiers in grep?

Here's a theoretical syntax for what I'm talking about:
$ grep -n --match=and snafu.txt foo bar
$ grep -n --match=or snafu.txt foo bar

I've seen it done, but can't find where I wrote it down.

Thanks

-- 
+-----------------------------------------------------------+
| Ron Johnson, Jr.     Home: ron.l.johnson@cox.net          |
| Jefferson, LA  USA   http://members.cox.net/ron.l.johnson |
|                                                           |
| The difference between Rock&Roll and Country Music?       |
| Old Rockers still on tour are pathetic, but old Country   |
| signers are still great.                                  |
+-----------------------------------------------------------+
___________________
Nolug mailing list
nolug@nolug.org
Received on 03/03/03

This archive was generated by hypermail 2.2.0 : 12/19/08 EST