|Don't ask to ask, just ask|
Re: Re: Re: File Comparisonby esh (Pilgrim)
|on Aug 21, 2003 at 07:18 UTC||Need Help??|
Sounds like an interesting problem, but I still can't quite picture the data and the result you want. These questions might clear things up for me:
Are the lines guaranteed to be unique?
Does the order of the lines matter as it does in diff?
If I see a line "XYZ" in file 1 and "XYZ" in file 2, and "XYZ" in file 3, are these the same line no matter where they show up in the respective files?
How big are the files? Would it be feasible to load them all into memory at the same time?
Is it ok to sort the files before doing the comparison or does your output need to be in a specific order?
Pretend letters are lines. What should be the output if the following are the contents of the three files?
-- Eric Hammond