docdiff1
Character/word-oriented diff
Usage
docdiff [options]
file1
file2
Overview
This manual page documents briefly the docdiff commands.
This manual page was written for the Debian distribution because the original program does not have a manual page. Instead, it has documentation in the HTML format; see below.
docdiff is a program that compares two files and shows the difference. It can compare files word by word, char by char, or line by line. It has several output formats such as HTML/XHTML, tty, Manued, or user-defined markup.
It supports several encodings and end-of-line characters, including ASCII, UTF-8, EUC-JP, Shift_JIS, CR, LF, and CRLF.
Options
-
--resolution=RESOLUTION -
specify resolution (granularity) line|word|char (default is word)
-
--line -
set resolution to line
-
--word -
set resolution to word
-
--char -
set resolution to char
-
--encoding=ENCODING -
specify character encoding ASCII|EUC-JP|Shift_JIS|UTF-8|auto (default is auto)
-
--ascii -
same as --encoding=ASCII
-
--eucjp -
same as --encoding=EUC-JP
-
--sjis -
same as --encoding=Shift_JIS
-
--utf8 -
same as --encoding=UTF-8
-
--eol=EOL -
specify end-of-line character CR|LF|CRLF|auto (default is auto)
-
--cr -
same as --eol=CR
-
--lf -
same as --eol=LF
-
--crlf -
same as --eol=CRLF
-
--format=FORMAT -
specify output format tty|manued|html|wdiff|user (default is html; user tags have to be described in config file)
-
--tty -
same as --format=tty
-
--manued -
same as --format=manued
-
--html -
same as --format=html
-
--wdiff -
same as --format=wdiff
-
--digest -
digest output, do not show all
-
--cache -
use file cache
-
--no-config-file -
do not read config files
-
--verbose -
run verbosely
-
--help -
show usage
-
--version -
show version
-
--license -
show license
-
--author -
show author(s)
Releases
12 releases since Debian 3.0 (Woody); the text changed 6 times.
--ascii since Debian 3.1 (Sarge);
--author since Debian 3.1 (Sarge);
--cache since Debian 3.1 (Sarge);
--char since Debian 3.1 (Sarge);
--cr since Debian 3.1 (Sarge);
--crlf since Debian 3.1 (Sarge);
--digest since Debian 3.1 (Sarge);
--encoding since Debian 3.1 (Sarge);
--eol since Debian 3.1 (Sarge);
--eucjp since Debian 3.1 (Sarge);
--format since Debian 3.1 (Sarge);
--help since Debian 3.1 (Sarge);
--lf since Debian 3.1 (Sarge);
--license since Debian 3.1 (Sarge);
--line since Debian 3.1 (Sarge);
--manued since Debian 3.1 (Sarge);
--no-config-file since Debian 3.1 (Sarge);
--resolution since Debian 3.1 (Sarge);
--sjis since Debian 3.1 (Sarge);
--tty since Debian 3.1 (Sarge);
--utf8 since Debian 3.1 (Sarge);
--verbose since Debian 3.1 (Sarge);
--version since Debian 3.1 (Sarge);
--wdiff since Debian 3.1 (Sarge);
--word since Debian 3.1 (Sarge).
--bychar until Debian 3.0 (Woody);
--bymorpheme until Debian 3.0 (Woody);
--esc until Debian 3.0 (Woody).