dwdiff is a front-end for the diff program that operates at the word level instead of the line level.
dwdiff project is different from wdiff in that it allows the user to specify what should be considered whitespace, and in that it takes an optional list of characters that should be considered delimiters.
Delimiters are single characters that are treated as if they are words, even when there is no whitespace separating them from preceding words or delimiters. dwdiff is mostly commandline compatible with wdiff.
Only the --autopager, --terminal and --avoid-wraps options are not supported.
The default output from dwdiff is the new text, with the deleted and inserted parts annotated with markers.
Command line options are available to change both what is printed, and the markers.
Product's homepage
What's New in This Release: [ read full changelog ]
· This release incorporates the diff algorithm from GNU diff into dwdiff itself, removing the dependency on an external diff program. This allows dwdiff to be much faster on large files.
· When two additions were seperated by a single common word or delimiter, dwdiff would report that the common word was replaced by the two additions and the common word. This is obviously not desirable, so this has been fixed. Furthermore, when using the --diff-input option, dwdiff would sometimes report changes that spanned multiple sections from the original diff file. The new version makes this impossible.