I have two output files:
- FILE-A contains 70,000+ unique entries.
- FILE-B contains a unique listing that I need to remove from FILE-B.
FILE-A:
TOM
JACK
AILEY
BORG
ROSE
ELI
FILE-B Content:
TOM
ELI
I want to remove anything listed in FILE-B from File-A.
FILE-C (Result file):
JACK
AILEY
BORG
ROSE
I assume I need a while r for i
statement. Can someone help me with this?
I need to cat
and read FILE-A and for every line in FILE-B I need to remove that from FILE-A.
What command should I use?