Commit | Line | Data |
---|---|---|
3013fe88 NW |
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 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 ".gz." | |
28 | If two files are specified, then they are uncompressed if necessary and fed to | |
29 | .I cmp | |
30 | or | |
31 | .IR diff "." | |
32 | The exit status from | |
33 | .I cmp | |
34 | or | |
35 | .I diff | |
36 | is preserved. | |
37 | .SH "SEE ALSO" | |
caed0dfe | 38 | cmp(1), diff(1), zmore(1), zgrep(1), znew(1), zforce(1), gzip(1), gzexe(1) |
3013fe88 NW |
39 | .SH BUGS |
40 | Messages from the | |
41 | .I cmp | |
42 | or | |
43 | .I diff | |
44 | programs refer to temporary filenames instead of those specified. |