File difference algorithm

P

paul

Hello

anyone got an algorithm / source code to compare two text files and show
differences & matches.

Compare by line would be fine, either lines are the same or they are not.

Kind of like WinDiff...

Thanks
Paul
 
G

grigsoft

Windiff is available in source code, Winmerge is open source. Classical
copmarison algorirhm is described in Mayers' "An O(ND) Difference
Algorithm and Its Variations" article, which you can find in internet.
I haven't seen any VB code for this.

Igor Green
http://www.grigsoft.com/
Compare It! + Synchronize It! - files and folders comparison never was
easier!
 
G

grigsoft

Windiff is available in source code, Winmerge is open source. Classical
comparison algorirhm is described in Mayers' "An O(ND) Difference
Algorithm and Its Variations" article, which you can find in internet.
I haven't seen any VB code for this.

Igor Green
http://www.grigsoft.com/
Compare It! + Synchronize It! - files and folders comparison never was
easier!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top