Do you know about a good / script method to find the text "diff"?
You can try using PEAR Text_Diff , it provides a diff text mechanism and displays diff for different output formats.