File: zdiff.1

package info (click to toggle)
gzip 1.5-1.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 5,972 kB
  • sloc: ansic: 32,031; sh: 7,945; makefile: 331; perl: 11
file content (54 lines) | stat: -rw-r--r-- 995 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
.TH ZDIFF 1
.SH NAME
zcmp, zdiff \- compare compressed files
.SH SYNOPSIS
.B zcmp
[ cmp_options ] file1
[ file2 ]
.br
.B zdiff
[ diff_options ] file1
[ file2 ]
.SH DESCRIPTION
.P
.I  Zcmp
and
.I zdiff
are used to invoke the
.I cmp
or the
.I diff
program on files compressed via
.IR gzip "."
All options specified are passed directly to
.I cmp
or
.IR diff "."
If only one file is specified, then it is compared to a file with the same name
without the
.I ".gz"
extension. If two files are specified, then they are uncompressed if necessary
and fed to
.I cmp
or
.IR diff "."
The exit status from
.I cmp
or
.I diff
is preserved.
.P
When both files must be uncompressed before comparison, the second is
uncompressed to
.IR "/tmp" "."
In all other cases,
.IR "zdiff" " and " "zcmp"
use only a pipe.
.SH "SEE ALSO"
cmp(1), diff(1), zmore(1), zgrep(1), znew(1), zforce(1), gzip(1), gzexe(1)
.SH BUGS
Messages from the
.I cmp
or
.I diff
programs refer to temporary filenames instead of those specified.