Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] diff in easily readable HTML format



Hector Akamine wrote:

> I'm looking for some tool, that converts the output of diff into a
> easily human readable html, 

Check out xfdiff. 

   http://xffm.foo-projects.org/screenshots/xfdiff/xfdiff.png
   http://xffm.foo-projects.org/xfdiff.html

The side-by-side comparison matches the way I think. 
It nails the "human readable" part. 
Unfortunately, it does not output HTML. 
It's ironic that the example screenshot is _of_ HTML. 

The middle example of http://colordiff.sourceforge.net/screenshots.html 
looks more like want you want. 

   http://colordiff.sourceforge.net/colordiff.html

Perhaps hacking ColorDiff would be more helpful. 
In colordiff.pl, try redefining $plain_text, $file_old, $file_new, 
$diff_stuff, and cvs_stuff with the desired HTML. 



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links