Wayne Werner<p>Fortunately, the manpage for comm comes through:</p><p>-1 ignores what's just in file 1<br />-2 ignores just what's in file 2<br />-3 ignores what's common to *both* files.</p><p>Oh! but... comm needs sorted input! Fortunately we already know about that though, so</p><p>comm <(sed ... | sort | uniq) <(egrep ... | sort | uniq)</p><p>Sorts that all out.</p><p><a href="https://fosstodon.org/tags/shell" class="mention hashtag" rel="tag">#<span>shell</span></a> <a href="https://fosstodon.org/tags/sort" class="mention hashtag" rel="tag">#<span>sort</span></a> <a href="https://fosstodon.org/tags/uniq" class="mention hashtag" rel="tag">#<span>uniq</span></a> <a href="https://fosstodon.org/tags/linux" class="mention hashtag" rel="tag">#<span>linux</span></a> <a href="https://fosstodon.org/tags/comm" class="mention hashtag" rel="tag">#<span>comm</span></a> <a href="https://fosstodon.org/tags/PunInTenDid" class="mention hashtag" rel="tag">#<span>PunInTenDid</span></a></p>