Update: Corion points out that you aren't counting. I think your one-liner might work if you modify your regex to be:
perl -ne 'print if ($seen{$_} .= @ARGV) =~ /^9876543210$/' FILE1 FILE2
In reply to Re^2: find common lines in many files
by BrowserUk
in thread find common lines in many files
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |