<?xml version="1.0" encoding="windows-1252"?>
<node id="46465" title="Re: Detect common lines between two files, one liner from shell" created="2000-12-13 18:31:30" updated="2005-07-19 14:08:39">
<type id="11">
note</type>
<author id="2329">
stephen</author>
<data>
<field name="doctext">
To add insult to injury, you could do this:

&lt;CODE&gt;
perl -ne '@foo[10]="print"; eval( $foo[ substr( ( $seen{$_} .= @ARGV), -2)])' file1 file2
&lt;/CODE&gt;

Adding just that extra bit of obscurity to make it completely byzantine...
 
&lt;P&gt;
stephen
&lt;/P&gt;</field>
<field name="root_node">
36725</field>
<field name="parent_node">
36725</field>
</data>
</node>
