Merge from vendor branch TNF:
[pkgsrc.git] / pkgtools / pkgdiff / files / pkgdiff.1
1 .\"     $NetBSD$
2 .\"
3 .\" Copyright (c) 2000 by Hubert Feyrer <hubertf@netbsd.org>
4 .\" All Rights Reserved.  Absolutely no warranty.
5 .\"
6 .Dd May 14, 2000
7 .Dt pkgdiff
8 .Os
9 .Sh NAME
10 .Nm pkgdiff
11 .Nd diff files in a way appropriate for pkgsrc
12 .Sh SYNOPSIS
13 .Nm
14 .Op Ar diff(1) options
15 .Ar oldfile
16 .Ar newfile
17 .Sh DESCRIPTION
18 The 
19 .Nm
20 utility runs 
21 .Xr diff 1
22 on the named files, and generates output on stdout that is appropriate
23 to be put as patch file into pkgsrc. An empty NetBSD RCS ID is output
24 first, and some effort is made to ensure that the generated patch does
25 not include any RCS IDs.
26 .Pp
27 .Sh SEE ALSO
28 .Xr cvs 1 ,
29 .Xr diff 1 ,
30 .Xr mkpatches 1 ,
31 .Xr patch 1