dwdiff delimited word diff program dwdiff(1) NAME dwdiff - a delimited word diff program SYNOPSIS dwdiff [OPTIONS] DESCRIPTION dwdiff is a front-end for the 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 command-line 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. OPTIONS dwdiff accepts the following options (Note that all strings will first be escape expanded. All standard \-escapes are supported, as well as \u and \U Unicode escapes): -h, --help Display a short help message. -v, --version Print version and copyright information. -d , --delimiters= Specify a list of characters to be used as delimiters. -P, --punctuation> Use punctuation characters as delimiters. The exact set of punctuation characters depends on the current locale. -W , --whitespace= Specify a list of characters to be used as whitespace. -1, --no-deleted Suppress printing of words deleted from the first file. -2, --no-inserted Suppress printing of words inserted in the second file. -3, --no-common Version 1.5.2 Last change: 06-01-2009 1 dwdiff delimited word diff program dwdiff(1) Suppress printing of words common to both files. -L[], --line-numbers[=] Show line numbers at the start of each line. The line numbers displayed are the line number in the old file and the line number in the new file respectively. The optional argument is the minimum number of positions per line number. -C, --context= Show lines of context before and after each changes. A line with only -- is printed between blocks of changes. -s, --statistics Print statistics when done. The numbers printed include the number of words from in both files, the number of deleted words, the number of inserted words, and the number of changed words. The number of changed words is counted as the number of words that are removed from the first file, and the number of words that replace them from the second file. All of these numbers are also expressed as a percentage of the total number of words in the file the words came from. -i, --ignore-case Ignore differences in case when comparing words. This option is only available if the diff program that is called provides it. -I, --ignore-formatting Ignore differences in formatting of characters. This option switches to using the Unicode compatibility decomposition instead of the canonical decomposition. The compatibility decomposition discards formatting information. For example, the ligature fi will be decomposed into two separate characters for the pur- poses of comparison. However, also super- and subscript will be regarded equal as well as different rotations of the same character. -D