Re:Shell Magic: Set Operations with uniq
by raverbashing on Wednesday May 30, 2018 @12:34PM
(#17189129)
I know how to use 'man', what I mean is, I never remember the command name (comm) because I always remember it's a command to compare so I think of cmp, and not comm.
comm "not only in 1" and "not in both"
so:
comm -1 -3 file1 file2