Flutterby™! : wdiff

Next unread comment / Catchup all unread comments User Account Info | Logout | XML/Pilot/etc versions | Long version (with comments) | Weblog archives | Site Map | | Browse Topics


2008-10-20 13:06:49.903062+00 by Dan Lyke 1 comments

P1k3 has a quick intro to GNU wdiff, including a "how to make it do HTML markup":

Or maybe you're looking for something to display on the web. wdiff -w '<del>' -x '</del>' -y '<ins>' -z '</ins>' one two gives us:

Here is some text.

I <del>will soon change</del> <ins>have changed</ins> it.

I've been meaning to figure this out so I could integrate it into the "comment history" feature, now I just need to do the integration...

comments in ascending chronological order (reverse):

#Comment Re: made: 2008-10-20 16:40:37.275694+00 by: John Anderson

/me inserts that into bag o' tricks...