>Some 10,000 to 20,000 lines each. I do need only the common lines. Order 
>is not essential, but would make life easier. I've tried a little with 
>uniq, as suggested by Polyptron, but I guess 3am is not quite the right 
>time to do these things. Anyway, thanks.

 sort -u file1 > sorted-file1
 sort -u file2 > sorted-file2
 comm -12 sorted-file1 sorted-file2 > result

R's,
John

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to