in reply to compare two text file line by line, how to optimise
Please provide a small sample of your input file, and an example of expected output. Put these in code tags as you've done with your code. It'd also help us (and you) if you used more sane indenting. Typically this is one indent per block (a tab usually, often set to 4 spaces, but that part isn't necessary).
|
|---|