Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

grep help needed

Status
Not open for further replies.

spicymango

Programmer
May 25, 2008
119
CA
Hi

I have the following command
Code:
grep psit properties.calcp | grep m3
which look for 'psit' and then look for m3 and return the result

what i want instead of givig me that has psit & m3 , I want to get all the entries that has psit and do not have m7, how can I do that?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top