KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a large file A (consisting of emails), one line for each mail. I also have another file B that contains another set of mails. Which command would I use to remove all the addresses that appear in file B from the file A. So, if file A contained: A B C and file B contained: B D E Then file A should be left with: A C Now I know this is a question that might have been asked more often, but I only found one command online that gave me an error with a bad delimiter. Any help would be much appreciated! Somebody will surely come up with a clever one-liner, but I'm not the shell expert.
Tags (comma-separated)
Save Edits
Cancel