Oh scripting gurus, my sed's weak and I hate to make perl out of the this....
I have large text file "A" and short text file "B".
"B" represents strings I need to remove (whole line matching) if they appear in "A".
THUS: if "A" is
and "B" is
I want to modify "A" to read:
Again, whole line pattern matching... I'm on very little sleep and this is not clicking for me... I know it's easy..
HELP appreciated.
D.E.R. Management - IT Project Management Consulting
I have large text file "A" and short text file "B".
"B" represents strings I need to remove (whole line matching) if they appear in "A".
THUS: if "A" is
Code:
apple
banana
grape
mango
peach
pear
and "B" is
Code:
banana
mango
I want to modify "A" to read:
Code:
apple
grape
peach
pear
Again, whole line pattern matching... I'm on very little sleep and this is not clicking for me... I know it's easy..
HELP appreciated.
D.E.R. Management - IT Project Management Consulting