in reply to Re^15: compare two text file line by line, how to optimise
in thread compare two text file line by line, how to optimise
if the line1 in file 1 contain: izetbegovic slobodan milosevic someday serbian peace
your program put these words in %uniq1 as key
line2 in file 2 : slobodan serbian peace serbs bosnia milosevic
you put this line in @match
now you grep $uniq1{$_} with @match, here you don't compare the line from @match with a line from the file1, but you campare it with all the word contained in file, and what i want is to compare line by line
may be i'm not correct!?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^17: compare two text file line by line, how to optimise
by thespirit (Novice) on Mar 01, 2016 at 20:15 UTC |