Up: pdiff   [Contents][Index]


9.3.1 Invoking pdiff

pdiff [options] file-1 file-2 [-- -options]

make a pretty comparison between file-1 and file-2. -options are passed to a2ps.

Supported options are:

Option: -h
Option: --help

print a short help message and exit successfully.

Option: -V
Option: --version

report the version and exit successfully.

Option: -q
Option: --quiet
Option: --silent

Run silently.

Option: -D
Option: --debug

enter in debug mode.

Option: -w
Option: --words

Look for words differences (default). White space differences are not considered.

Option: -l
Option: --lines

Look for lines differences.

It is possible to give options to a2ps (see Command line options) by specifying them after ‘--’. For instance

pdiff COPYING COPYING.LIB -- -1 -P display

Compares the files COPYING and COPYING.LIB, and prints it on the printer display (usually Ghostview or gv).