![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
comment on |
( #3333=superdoc: print w/replies, xml ) | Need Help?? |
Ditto! However, instead of comm, I tend to use uniq in a pipeline. cat ${file1} ${file2} ${file2} | cut -d: -f1 | sort | uniq -u(Slacking off and just doing the easier case for user id in the first field as opposed to the harder case of name extraction from the fifth field.) Translating this to perl comes up with something like what's given in the following answers, but I find it's handy to test the rough idea on the command line if possible. (EDIT: Removed the accidental dot between the paragraph and code tags. Moral: don't do markup after midnight.) In reply to Re^2: Reconcile one list against another
by jaredor
|
|