in reply to Filtering lines from one file from another
Another non-Perl solution would be the Unix command "comm"
comm -23 file1 file2 would do it.
I like comm because you can get lines in file1 and not in 2, in 2 and not in 1 and lines common to both.
comm -23 file1 file2 would do it.
I like comm because you can get lines in file1 and not in 2, in 2 and not in 1 and lines common to both.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Filtering lines from one file from another
by Limbic~Region (Chancellor) on Feb 03, 2011 at 16:16 UTC |
In Section
Seekers of Perl Wisdom