My task is to remove lines from fileA that might also be in fileB.
For instance,
fileA looks like:
xxx
ooo
yyy
iii
zzz
fileB looks like:
iii
vvv
ttt
xxx
777
www
Needing the lines xxx and iii to be removed from fileA.
I've wrestled with diff, sort, uniq, comm and can't quite get it. Thanks for any help.
For instance,
fileA looks like:
xxx
ooo
yyy
iii
zzz
fileB looks like:
iii
vvv
ttt
xxx
777
www
Needing the lines xxx and iii to be removed from fileA.
I've wrestled with diff, sort, uniq, comm and can't quite get it. Thanks for any help.