Path: utzoo!attcan!uunet!pmafire!uudell!milano.sw.mcc.com!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!think.com!mintaka!mit-eddie!uw-beaver!ubc-cs!alberta!alberta!cpsc.ucalgary.ca!ctycal!pat From: pat@ctycal.UUCP (Patrick Woo) Newsgroups: comp.unix.questions Subject: how to grep multiply strings Keywords: grep regular expression Message-ID: <531@ctycal.UUCP> Date: 31 Jan 91 18:32:00 GMT Organization: The City of Calgary, Ab Lines: 14 I am trying to display line that doesn't contain string1 or string2 or ... stringn. What I did was grep -v string1 | grep -v string2 | .... | grep -v stringn Just wondering if there is an easier way other than doing all this piping. Thanks in advance. -- Patrick Woo pat%ctycal@cpsc.ucalgary.ca Land Information Services or The City of Calgary ...{alberta,ubc-cs,uunet}!calgary!ctycal!pat