in reply to Comparing strings from different files
If you are comparing actual lines from the files
and not the different "nodes"
then your task is even easier
something like that:
./sciprt.pl FILE1 FILE2
and not the different "nodes"
then your task is even easier
something like that:
./sciprt.pl FILE1 FILE2
will print you yours unique lines%hash = map{ s/E99/99/g; $_ => $hash{$_}++;} <>; foreach (sort keys %hash){ print "$_ $hash{$_}\n" if !$hash{$_}; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Comparing strings from different files
by Jalcock501 (Sexton) on Oct 09, 2013 at 08:59 UTC | |
by Lennotoecom (Pilgrim) on Oct 09, 2013 at 11:16 UTC |
In Section
Seekers of Perl Wisdom