2 .\" diffpp manual page.
3 .\" Copyright (c) 1996 Markku Rossi.
4 .\" Author: Markku Rossi <mtr@iki.fi>
7 .\" Enscript is free software: you can redistribute it and/or modify
8 .\" it under the terms of the GNU General Public License as published by
9 .\" the Free Software Foundation, either version 3 of the License, or
10 .\" (at your option) any later version.
12 .\" Enscript is distributed in the hope that it will be useful,
13 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
14 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 .\" GNU General Public License for more details.
17 .\" You should have received a copy of the GNU General Public License
18 .\" along with Enscript. If not, see <http://www.gnu.org/licenses/>.
20 .TH DIFFPP 1 "Jan 29, 1997" "DIFFPP" "DIFFPP"
23 diffpp \- pretty\-print diff outputs with GNU enscript
26 .B diffpp \f2currentfile\f1 < \f2diff\-file\f1
30 \f3Diffpp\f1 converts \f3diff(1)\f1\-program's output files to a
31 format suitable to be printed with GNU \f3enscript(1)\f1. Program
32 annotates the changes with enscript's special escapes so enscript can
33 highlight the modified portions of the file. All changed and added
34 lines are printed with gray\-background, deleted lines are marked with
35 minus (`\-') characters; \f3diffpp\f1 prints one minus character for
40 The easiest way to use \f3diffpp\f1 is to use it as an input filter
41 for enscript. If an input filter is specified for enscript it is used
42 to pre\-process the incoming data\-stream. Filtering does not alter any
43 header strings or file\-timestamps which might be printed on enscript
44 headers; only the incoming data is modified.
47 \f3enscript \-G2re \-\-filter='rcsdiff %s | diffpp %s' *.c *.h\f1
48 Print the changes between current source files and their latest
51 \f3enscript \-G2re \-\-filter='diff %s~ %s | diffpp %s' *.c *.h\f1
52 Print changes between source files and the corresponding backup\-files.
58 Markku Rossi <mtr@iki.fi> <http://www.iki.fi/~mtr/>