Jeff Pan wrote: > hi, > > Is there a best way to find some lines which exists in both two files?
I usually use the Unix comm(1) utility. Its very efficient, but the input files need to be sorted. Google for "ppt comm" and you can find a Perl version. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>