regex, wc>@blah etc - waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaay over my head...
onehunglo - don't think it does what I want - the lines on files 1 & 2 aren't the same, so aren't duplicates as such.
eg file 1 consists of:
line1: info data blahblah OH-LOOK-THIS-PHRASE-1 etc etc more data on this line
line2: info data blahblah OH-LOOK-THIS-PHRASE-2 etc etc more data on this line
line3: info data blahblah OH-LOOK-THIS-PHRASE-3 etc etc more data on this line
--
line5000: info data blahblah OH-LOOK-THIS-PHRASE-5000 etc etc more data on this line
file 2 consists of:
line1: OH-LOOK-THIS-PHRASE-1
line2: OH-LOOK-THIS-PHRASE-2
line3: OH-LOOK-THIS-PHRASE-3
--
line450: OH-LOOK-THIS-PHRASE-450
what I need:
input file 1, input file 2, and have it seek file 1 for OH-LOOK-THIS-PHRASE-X, and remove that entire line.
|