in reply to Re: File handles in regular expressions
in thread File handles in regular expressions
Your solution only matches if the line at the same line number in both files is the same. The OP was attempting to match each line in file1 against each line in file2. For the files listed below only the first line is matched even though there are four lines that match.
File1.txt: item1 item2 item3 item4 File2.txt: item1 abc item2 item3 item4 File3.txt: item1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: File handles in regular expressions
by Kenosis (Priest) on Oct 19, 2012 at 16:15 UTC |