From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079341819610.tru64-unix-managers.marc@archive.invalid> From: John Losey Date: Sun, 19 Mar 2000 01:57:40 +0000 To: tru64-unix-managers Subject: SUMMARY: grep for "this" or "that" X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079341819610 Thanks to Sean Harding for the quick response. The answer was egrep script.sh | egrep "Synchronized|Restored" Thanks, John -----Original Message----- From: John Losey [mailto:JOHLOS@HBSI.COM] Sent: Saturday, March 18, 2000 5:51 PM To: Tru64 UNIX Managers Group (E-mail) Subject: grep for "this" or "that" 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