http://qs321.pair.com?node_id=46465


in reply to Detect common lines between two files, one liner from shell

To add insult to injury, you could do this:
perl -ne '@foo[10]="print"; eval( $foo[ substr( ( $seen{$_} .= @ARGV), + -2)])' file1 file2
Adding just that extra bit of obscurity to make it completely byzantine...

stephen