mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
cec0ddc8ec
Lots of content was updated on the xz man page. Technical improvements: - Start a new sentence on a new line. - Use fairly short lines. - Use constant-width font for examples (where supported). - Some minor cleanups. Thanks to Jonathan Nieder for some language fixes.
75 lines
1.4 KiB
Groff
75 lines
1.4 KiB
Groff
.\"
|
|
.\" Original zdiff.1 for gzip: Jean-loup Gailly
|
|
.\"
|
|
.\" Modifications for XZ Utils: Lasse Collin
|
|
.\" Andrew Dudman
|
|
.\"
|
|
.\" License: GNU GPLv2+
|
|
.\"
|
|
.TH XZDIFF 1 "2010-09-27" "Tukaani" "XZ Utils"
|
|
.SH NAME
|
|
xzcmp, xzdiff, lzcmp, lzdiff \- compare 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 xzdiff
|
|
invoke
|
|
.BR cmp (1)
|
|
or
|
|
.BR diff (1)
|
|
on files compressed with
|
|
.BR xz (1),
|
|
.BR lzma (1),
|
|
.BR gzip (1),
|
|
or
|
|
.BR bzip2 (1).
|
|
All options specified are passed directly to
|
|
.BR cmp (1)
|
|
or
|
|
.BR diff (1).
|
|
If only one file is specified, then the files compared are
|
|
.I file1
|
|
(which must have a suffix of a supported compression format) and
|
|
.I file1
|
|
from which the compression format suffix has been stripped.
|
|
If two files are specified,
|
|
then they are uncompressed if necessary and fed to
|
|
.BR cmp (1)
|
|
or
|
|
.BR diff (1).
|
|
The exit status from
|
|
.BR cmp (1)
|
|
or
|
|
.BR diff (1)
|
|
is preserved.
|
|
.PP
|
|
The names
|
|
.B lzcmp
|
|
and
|
|
.B lzdiff
|
|
are provided for backward compatibility with LZMA Utils.
|
|
.SH "SEE ALSO"
|
|
.BR cmp (1),
|
|
.BR diff (1),
|
|
.BR xz (1),
|
|
.BR gzip (1),
|
|
.BR bzip2 (1),
|
|
.BR zdiff (1)
|
|
.SH BUGS
|
|
Messages from the
|
|
.BR cmp (1)
|
|
or
|
|
.BR diff (1)
|
|
programs refer to temporary filenames instead of those specified.
|