and if you want accounts present in both, use comm -12 insteadawk '{print $2}' < file1.txt | sort -u > file1.sor awk '{print $2}' < file2.txt | sort -u > file2.sor comm -13 file1.sor file2.sor > onlyIn2.sor comm -23 file1.sor file2.sor > onlyIn1.sor
One world, one people
In reply to Re: Reconcile one list against another
by anonymized user 468275
in thread Reconcile one list against another
by spartan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |