wdiff1
Display word differences between text files
Usage
wdiff [OPTION] ...
FILE1
FILE2
wdiff -d
[OPTION] ...
[FILE]
Overview
wdiff - Compares words in two files and report differences.
Mandatory arguments to long options are mandatory for short options too.
-
-C, --copyright -
display copyright then exit
-
-1, --no-deleted -
inhibit output of deleted words
-
-2, --no-inserted -
inhibit output of inserted words
-
-3, --no-common -
inhibit output of common words
-
-a, --auto-pager -
automatically calls a pager
-
-d, --diff-input -
use single unified diff as input
-
-h, --help -
display this help then exit
-
-i, --ignore-case -
fold character case while comparing
-
-l, --less-mode -
variation of printer mode for "less"
-
-n, --avoid-wraps -
do not extend fields through newlines
-
-p, --printer -
overstrike as for printers
-
-s, --statistics -
say how many words deleted, inserted etc.
-
-t, --terminal -
use termcap as for terminal displays
-
-v, --version -
display program version then exit
-
-w, --start-delete=STRING -
string to mark beginning of delete region
-
-x, --end-delete=STRING -
string to mark end of delete region
-
-y, --start-insert=STRING -
string to mark beginning of insert region
-
-z, --end-insert=STRING -
string to mark end of insert region
Compatibility
Some options that used to provide some unique functionality are no longer recommended, but still recognized for the sake of backwards compatibility.
-K,--no-init-term-
Now synonymous to --terminal, which never initializes the terminal.
Releases
17 releases since Debian 1.3 (Bo); the text changed 4 times.
--copyright since Debian 6.0 (Squeeze);
--diff-input since Debian 6.0 (Squeeze);
--ignore-case since Debian 6.0 (Squeeze);
-C since Debian 6.0 (Squeeze);
-d since Debian 6.0 (Squeeze);
-i since Debian 6.0 (Squeeze);
-v since Debian 6.0 (Squeeze).
--no-init-term until Debian 6.0 (Squeeze);
-K until Debian 6.0 (Squeeze);
-V until Debian 5.0 (Lenny).