[lug] grep question
Scott A. Herod
herod at interact-tv.com
Tue Jan 29 12:41:21 MST 2002
A quick grep question: I've got a file named "spam" that may contain
"hello", "goodbye", both or neither.
I need a grep command that returns true if either or both is present.
The grep man page suggests that you can use the infix operator |
(the pipe symbol) but I can't figure out the syntax. Does anyone
I basically want something like:
grep 'hello!good' spam
More information about the LUG