in reply to Htmlify code with differences
By the way, you may woner why I'm calling diff with the order of arguments swapped to generate a reverse diff.
This is required because I'm ignoring the blanks so and a line is considered unchanged diff will show the version in the first file. So, for example, if the original file says
and the new file saysbar
this gives the right outputif foo bar
(with only the first line bold), instead of the wrong outputif foo bar
(with only the first line bold again).if foo bar
|
|---|