Do you know of a good method/script for finding the text \'diff\'?
You might try using the PEAR Text_Diff it provides a text-based diff engine and renders for multiple diff output formats.