fix for #693463, part of the zdiff man page edits are no longer needed
[debian/gzip] / zdiff.1
1 .TH ZDIFF 1
2 .SH NAME
3 zcmp, zdiff \- compare compressed files
4 .SH SYNOPSIS
5 .B zcmp
6 [ cmp_options ] file1
7 [ file2 ]
8 .br
9 .B zdiff
10 [ diff_options ] file1
11 [ file2 ]
12 .SH DESCRIPTION
13 .P
14 .I  Zcmp
15 and
16 .I zdiff
17 are used to invoke the
18 .I cmp
19 or the
20 .I diff
21 program on files compressed via
22 .IR gzip "."
23 All options specified are passed directly to
24 .I cmp
25 or
26 .IR diff "."
27 If only one file is specified, then it is compared to a file with the same name
28 without the
29 .I ".gz"
30 extension. If two files are specified, then they are uncompressed if necessary
31 and fed to
32 .I cmp
33 or
34 .IR diff "."
35 The exit status from
36 .I cmp
37 or
38 .I diff
39 is preserved.
40 .SH "SEE ALSO"
41 cmp(1), diff(1), zmore(1), zgrep(1), znew(1), zforce(1), gzip(1), gzexe(1)
42 .SH BUGS
43 Messages from the
44 .I cmp
45 or
46 .I diff
47 programs refer to temporary filenames instead of those specified.