in reply to diff to simple html

Boy, this sounds familiar. Oh yeah, it's because I already did a snippet on it here, and a magazine article which went into more detail!

You should look in to Algorithm::Diff: your program would then port to Windows nicely.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.