in reply to Detect common lines between two files, one liner from shell
To add insult to injury, you could do this:
Adding just that extra bit of obscurity to make it completely byzantine...perl -ne '@foo[10]="print"; eval( $foo[ substr( ( $seen{$_} .= @ARGV), + -2)])' file1 file2
stephen
|
---|
In Section
Cool Uses for Perl