Thread: Perl Script
View Single Post
Old Nov 9th, 2004, 1:45 PM   #3
monkey8
Newbie
 
Join Date: Nov 2004
Posts: 12
Rep Power: 0 monkey8 is on a distinguished road
Quote:
Originally posted by kurifu@Nov 9 2004, 05:54 PM
You could just do work checking, store a sequence of words and check them, only problem is that if one document inserts a word and another does not the remainder of the document will be out of sync while a real diff program would understand that it is only a small segment of the document that went out of sync... and this is only one example.
To append to kurifu's suggestion:

You could open both files the same time

foreach line, foreach word, if its different, highlight it. This would solve the problem of "one inserted word" would break the program. But this also would break if they added a new line.

If you just want a program to do this, this one looks pretty good http://meld.sourceforge.net/
monkey8 is offline   Reply With Quote