diffpp.1 - enscript - GNU Enscript
 (HTM) git clone git://thinkerwim.org/enscript.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       diffpp.1 (2119B)
       ---
            1 .\" 
            2 .\" diffpp manual page.
            3 .\" Copyright (c) 1996 Markku Rossi.
            4 .\" Author: Markku Rossi <mtr@iki.fi>
            5 .\"
            6 .\"
            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.
           11 .\"
           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.
           16 .\"
           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/>.
           19 .\"
           20 .TH DIFFPP 1 "Jan 29, 1997" "DIFFPP" "DIFFPP"
           21 
           22 .SH NAME
           23 diffpp \- pretty\-print diff outputs with GNU enscript
           24 
           25 .SH SYNOPSIS
           26 .B diffpp \f2currentfile\f1 < \f2diff\-file\f1
           27 
           28 .SH DESCRIPTION
           29 
           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
           36 each deleted line.
           37 
           38 .SH EXAMPLES
           39 
           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.
           45 
           46 .TP 8
           47 \f3enscript \-G2re \-\-filter='rcsdiff %s | diffpp %s' *.c *.h\f1
           48 Print the changes between current source files and their latest
           49 RCS\-versions.
           50 .TP 8
           51 \f3enscript \-G2re \-\-filter='diff %s~ %s | diffpp %s' *.c *.h\f1
           52 Print changes between source files and the corresponding backup\-files.
           53 
           54 .SH SEE ALSO
           55 diff(1), enscript(1)
           56 
           57 .SH AUTHOR
           58 Markku Rossi <mtr@iki.fi> <http://www.iki.fi/~mtr/>