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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SED or AWK to clean lines out of file1 based on values in file2

Status
Not open for further replies.

WiccaChic

Technical User
Jan 21, 2004
179
US
Hello all. I have a big file that I need to delete a number of lines out of. I want to read the values that will determine deletion out of another file, because there are multiple.

Can someone post an example of a sed or awk script to do this?
 
And what about fgrep -v -f ?
What have you so far ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top