> On 20010403.1418, Rob Hudson said ...
>
> Let's see if I do...
>
> $ grep string1 string2 filename(s)
>
> will find those files that contain string1 _OR_ string2
Actually, this doesn't work. I thought it did b/c my output was long
and I didn't see the error message at the top.
I found out you need to do something like this:
$ grep -E 'string1|string2' filename(s)
to 'OR' grep for 2+ strings.
> whereas
>
> $ grep string1 filename(s) | grep string2
>
> will find those files that contain string1 _AND_ string2
>
> Correct?
>
> Thanks,
> Rob
>