Comparing two lists

Eitan Adler lists at eitanadler.com
Sat May 7 02:58:41 UTC 2011


....
> They have some lines in common
> and some lines are unique to one of the files.

Use comm whenever you are dealing with set operations (in your case
the intersection operation):
http://www.catonmat.net/blog/set-operations-in-unix-shell


-- 
Eitan Adler


More information about the freebsd-questions mailing list