grep for "this" or "that"

From: John Losey <JOHLOS_at_HBSI.COM>
Date: Sat, 18 Mar 2000 17:50:30 -0800

I'm sorry for asking such a basic question, but I couldn't find what I was
looking for in the man page for grep.

I'm trying to grep the output of a script for either "Synchronized" or
"Restored". I know that if I only wanted one, I could use:
script.sh | grep "Synchronized"

But the script takes awhile to run & I needed to be able grep for either of
these at the same time.

Thanks,

John
Received on Sun Mar 19 2000 - 01:52:14 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT