Projects / dwdiff

dwdiff

dwdiff is a diff program that operates at the word level instead of the line level. It 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. 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.

Tags
Operating Systems

Recent releases

  •  30 Jun 2013 18:27

    Release Notes: This release fixes a bug in the handling of contexts which caused incorrect diffs to be printed. In some cases, text was reported both as removed and as common.

    •  22 Oct 2011 11:04

      Release Notes: dwdiff now incorporates the diff algorithm from GNU diff, making it much faster for large inputs and removing the dependency on an external diff program.

      •  05 Feb 2011 15:39

        Release Notes: An option for reformating a diff in Unified Diff format was added, for easily using dwdiff in combination with a VCS.

        •  05 Feb 2011 15:38

          Release Notes: The \e escape sequence is now interpreted in arguments, and the -p and -l options now correctly handle UTF-8 characters.

          •  25 Jul 2010 07:19

            Release Notes: The context matching now decreases the matched context size exponentially, instead of immediately using the context-less mode if the changes found with context need refining. This results in more intuitive output when increasing the matching context size.

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.