patch for zdiff man page
[debian/gzip] / debian / patches / zdiff-man.diff
1 diff --git a/zdiff.1 b/zdiff.1
2 index 588974c..3a586a2 100644
3 --- a/zdiff.1
4 +++ b/zdiff.1
5 @@ -10,6 +10,7 @@ zcmp, zdiff \- compare compressed files
6  [ diff_options ] file1
7  [ file2 ]
8  .SH DESCRIPTION
9 +.P
10  .I  Zcmp
11  and
12  .I zdiff
13 @@ -23,11 +24,11 @@ All options specified are passed directly to
14  .I cmp
15  or
16  .IR diff "."
17 -If only 1 file is specified, then the files compared are
18 -.I file1
19 -and an uncompressed
20 -.IR file1 ".gz."
21 -If two files are specified, then they are uncompressed if necessary and fed to
22 +If only one file is specified, then it is compared to a file with the same name
23 +without the
24 +.I ".gz"
25 +extension. If two files are specified, then they are uncompressed if necessary
26 +and fed to
27  .I cmp
28  or
29  .IR diff "."
30 @@ -36,6 +37,13 @@ The exit status from
31  or
32  .I diff
33  is preserved.
34 +.P
35 +When both files must be uncompressed before comparison, the second is
36 +uncompressed to
37 +.IR "/tmp" "."
38 +In all other cases,
39 +.IR "zdiff" " and " "zcmp"
40 +use only a pipe.
41  .SH "SEE ALSO"
42  cmp(1), diff(1), zmore(1), zgrep(1), znew(1), zforce(1), gzip(1), gzexe(1)
43  .SH BUGS