in reply to
Comparison Of Files
If they are already sorted,
diff -u file1 file2 | sed -e '/^
^+
/d' -e 's/^+//'
will do the job handily... Of course, using an oldie tool will do the job even easier, but only if the files are sorted first:
comm -2 file1 file2
--Toby.
Comment on
Re: Comparison Of Files
In Section
Seekers of Perl Wisdom