Remove duplicate words from between lists example:
We have two lists; the first list contains:
a
b
c
d
The second list contains:
a
b
c
d
e
f
I want to make a comparison between the first and second lists, removing the matches contained in both, resulting in this:
e
f
I couldn't find a solution to do that with bash, but I did find one in python: https://stackoverflow.com/questions/7961363/removing-duplicates-in-lists/7961390#7961390
It's similar to what I want to do but I don't know a function like set in BASH
– Notme Oct 17 '20 at 14:25