aboutsummaryrefslogtreecommitdiff
path: root/src/scripts/xzdiff.1
blob: 7d4f6060ed291e38fb75ca27a07f83cbb2c0bd74 (plain) (blame)
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
55
56
57
58
.\" Original file was take from gzip, thus this man page is under GNU GPLv2+.
.TH XZDIFF 1 "2009-04-13" "XZ Utils"
.SH NAME
xzcmp, xzdiff, lzcmp, lzdiff \- compare .xz and .lzma compressed files
.SH SYNOPSIS
.B xzcmp
.RI [ cmp_options "] " file1 " [" file2 ]
.br
.B xzdiff
.RI [ diff_options "] " file1 " [" file2 ]
.br
.B lzcmp
.RI [ cmp_options "] " file1 " [" file2 ]
.br
.B lzdiff
.RI [ diff_options "] " file1 " [" file2 ]
.SH DESCRIPTION
.B  xzcmp
and
.B xdiff
are used to invoke the
.BR cmp (1)
or the
.BR diff (1)
program on compressed files.  All options specified are passed directly to
.B cmp
or
.BR diff "."
If only 1 file is specified, then the files compared are
.I file1
(which must have .xz or .lzma suffix) and
.I file1
from which the .xz or .lzma suffix has been stripped.
If two files are specified, then they are uncompressed if necessary and fed to
.B cmp
or
.BR diff "."
The exit status from
.B cmp
or
.B diff
is preserved.
.SH AUTHORS
This manual page was ripped from
.BR zdiff (1)
shipped in gzip package.
.SH "SEE ALSO"
.BR cmp (1),
.BR diff (1),
.BR xzmore(1),
.BR xzgrep(1),
.BR xz (1)
.SH BUGS
Messages from the
.B cmp
or
.B diff
programs refer to temporary filenames instead of those specified.