[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] Mundane ns/Makefile question



> 
> While I'm on cusp of asking borderline non-ns-specific questions, what's
> the easiest way to grep through source code for 2 search terms? Is there a
> program that I can pipe the output of 2 greps to and receive their common
> replies?

U can use egrep OR perhaps easier :
grep blah foo.c | grep xyz | grep fdfd | grep ....// go on for any
number of terms

gautam

> 
> G'day all,
> -Stan

-- 
***************************************************************
Gautam Chakrabarti
MS Student
Computer Sc. and Engg Department
Michigan State University

Email : [email protected]
Home Page : http://www.cse.msu.edu/~chakra10

Why is there so much month left at the end of the money?
		--- John Barrymore
***************************************************************