&dhucpackage; &dhsection;

&dhpackage;

character/word-oriented diff

          &dhpackage;

          options

          file1

          file2

## DESCRIPTION

This manual page documents briefly the `&dhpackage;` 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.

`&dhpackage;` 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)

## SEE ALSO

/usr/share/doc/docdiff/readme.html.

## AUTHOR

This manual page was written by &dhusername; &dhemail; for the &debian; system (but may be used by others).