in reply to Reconcile one list against another
If you just want the lists of users to be added and deleted, it can be done in a few unix commands:
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 Section
Seekers of Perl Wisdom