[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1. Overview

The program wdiff is a front end to diff for comparing files on a word per word basis. A word is anything between whitespace. This is useful for comparing two texts in which a few words have been changed and for which paragraphs have been refilled. It works by creating two temporary files, one word per line, and then executes diff on these files. It collects the diff output and uses it to produce a nicer display of word differences between the original files.

Ideally, wdiff should avoid calling diff and do all the work internally, allowing it to be faster and more polished. However, I loathe replicating the diff algorithm and development effort, instead of improving diff itself. It would be more sensible to integrate wdiff into diff than the other way around. I did it this way only because I had a sudden and urgent need for it, and it would have taken too much time to integrate it correctly into GNU diff. Your advice or opinions about this are welcome.

wdiff was written by No value for Francois Pinard. Please report bugs to `bug-gnu-utils@prep.ai.mit.edu'. Include the version number, which you can find by running `wdiff --version'. Include in your message sufficient input to reproduce the problem and also, the output you expected.


[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

This document was generated by Super-User on December, 4 2007 using texi2html 1.76.