]> git.cworth.org Git - gzip/blob - zdiff.1
Imported Debian patch 1.3.12-3
[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 .I  Zcmp
14 and
15 .I zdiff
16 are used to invoke the
17 .I cmp
18 or the
19 .I diff
20 program on files compressed via
21 .IR gzip "."
22 All options specified are passed directly to
23 .I cmp
24 or
25 .IR diff "."
26 If only 1 file is specified, then the files compared are
27 .I file1
28 and an uncompressed
29 .IR file1 ".gz."
30 If two files are specified, then they are uncompressed if necessary and fed to
31 .I cmp
32 or
33 .IR diff "."
34 The exit status from
35 .I cmp
36 or
37 .I diff
38 is preserved.
39 .SH "SEE ALSO"
40 cmp(1), diff(1), zmore(1), zgrep(1), znew(1), zforce(1), gzip(1), gzexe(1)
41 .SH BUGS
42 Messages from the
43 .I cmp
44 or
45 .I diff
46 programs refer to temporary filenames instead of those specified.