Added all of the MH sources, including RCS files, in
[mmh] / docs / historical / mh-6.8.5 / miscellany / compress-4.0 / zcmp.1
1 .TH ZCMP 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 compressed files.  All options specified are passed directly to
21 .I cmp
22 or
23 .IR diff "."
24 If only 1 file is specified, then the files compared are
25 .I file1
26 and an uncompressed
27 .IR file1 ".Z."
28 If two files are specified, then they are uncompressed (if ending with ".Z")
29 and fed to
30 .I cmp
31 or
32 .IR diff "."
33 The exit status from 
34 .I cmp
35 or
36 .I diff
37 is preserved.
38 .SH "SEE ALSO"
39 cmp(1), diff(1), zmore(1), zcat(1), compress(1), uncompress(1)
40 .SH BUGS
41 Messages from the
42 .I cmp
43 or
44 .I diff
45 programs refer to temporary filenames instead of those specified.