note
ambrus
<p>
Sort the two lists and compare with comm:
<code>
$ cat a
one
two
three
four
five
six
seven
$ cat b
two
four
five
six
seven
$ sort a > a.sorted
$ sort b > b.sorted
$ comm -23 a.sorted b.sorted
one
three
$
</code>
<p>
<B>Update 2009 sep 2.</b>
<p>
See [id://542819] for a list of other nodes where unix textutils is suggested to merge files.
<!-- kw: textutils, coreutils, join, comm, sort, diff, cut, paste, shell programming, nodering(join) -->
425883
425883