This commit was generated by cvs2svn to track changes on a CVS vendor
[unix-history] / gnu / usr.bin / gzip / zdiff.1
CommitLineData
3013fe88
NW
1.TH ZDIFF 1
2.SH NAME
3zcmp, 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
14and
15.I zdiff
16are used to invoke the
17.I cmp
18or the
19.I diff
20program on compressed files. All options specified are passed directly to
21.I cmp
22or
23.IR diff "."
24If only 1 file is specified, then the files compared are
25.I file1
26and an uncompressed
27.IR file1 ".gz."
28If two files are specified, then they are uncompressed if necessary and fed to
29.I cmp
30or
31.IR diff "."
32The exit status from
33.I cmp
34or
35.I diff
36is preserved.
37.SH "SEE ALSO"
caed0dfe 38cmp(1), diff(1), zmore(1), zgrep(1), znew(1), zforce(1), gzip(1), gzexe(1)
3013fe88
NW
39.SH BUGS
40Messages from the
41.I cmp
42or
43.I diff
44programs refer to temporary filenames instead of those specified.