www.delorie.com/gnu/docs/a2ps/a2ps_122.html   search  
Buy GNU books!

General Purpose PostScript Generating Utility

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

9.4.1 Invoking pdiff

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

make a pretty comparison between file-1 and file-2. a2ps-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 section 3.1 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).

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003