[pmwiki-users] compare revisions down to single letters
Patrick R. Michaud
pmichaud at pobox.com
Thu Jun 9 18:36:21 CDT 2005
On Thu, Jun 09, 2005 at 11:40:37PM +0200, Joachim Durchholz wrote:
> >On Thu, Jun 09, 2005 at 10:27:30PM +0200, Stephan Schildberg wrote:
> >
> >>do you know a way how to compare two revisions by the resolution down to
> >>single letters?
>
> There's a relatively simple (but unelegant) way to do this:
>
> Run the two texts through a simple script that puts each letter on its
> own line, then feed the results through Unix diff.
> The results won't be very useful: diff will report that the I on line 1
> was moved to line 32, etc. - you may be better off doing a word-by-word
> comparison. AFAIK this already has been done - try googling for
> "worddiff" (maybe "word diff").
Differences in words isn't a big issue -- what should PmWiki
do with differences from non-word markup? For example, what should
PmWiki display as being the difference between
Don't believe everything you hear.
and
* [[Don't believe]] ''everything'' you hear!
Pm
More information about the pmwiki-users
mailing list