Diff of Text

GZ zyzhu2000 at gmail.com
Thu Jun 3 22:54:40 EDT 2010


Hi All,

I am looking for an algorithm that can compare to source code files
line by line and find the minimum diff. I have looked at the difflib
included in python. The problem is that it is designed to make the
diff results easier for humans to read, instead of minimize the size
of the output differencial. I would like an algorithm implementation
that gives the absolute minimum difference between the two files.

Can you help me?

Thanks,
gz



More information about the Python-list mailing list