$ comm -12 <(sort file1) <(sort file2) [download]
In reply to Re: problem while reading multiple files by JavaFan in thread problem while reading multiple files by rajyalakshmi