2009-04-13 11:49:48 +00:00
|
|
|
.\" Original file was take from gzip, thus this man page is under GNU GPLv2+.
|
|
|
|
.TH XZDIFF 1 "2009-04-13" "XZ Utils"
|
2007-12-08 22:42:33 +00:00
|
|
|
.SH NAME
|
2009-04-13 11:49:48 +00:00
|
|
|
xzcmp, xzdiff, lzcmp, lzdiff \- compare .xz and .lzma compressed files
|
2007-12-08 22:42:33 +00:00
|
|
|
.SH SYNOPSIS
|
2009-04-13 11:49:48 +00:00
|
|
|
.B xzcmp
|
|
|
|
.RI [ cmp_options "] " file1 " [" file2 ]
|
|
|
|
.br
|
|
|
|
.B xzdiff
|
|
|
|
.RI [ diff_options "] " file1 " [" file2 ]
|
|
|
|
.br
|
2007-12-08 22:42:33 +00:00
|
|
|
.B lzcmp
|
|
|
|
.RI [ cmp_options "] " file1 " [" file2 ]
|
|
|
|
.br
|
2009-04-13 11:49:48 +00:00
|
|
|
.B lzdiff
|
2007-12-08 22:42:33 +00:00
|
|
|
.RI [ diff_options "] " file1 " [" file2 ]
|
|
|
|
.SH DESCRIPTION
|
2009-04-13 11:49:48 +00:00
|
|
|
.B xzcmp
|
2009-01-19 20:37:16 +00:00
|
|
|
and
|
2009-04-13 11:49:48 +00:00
|
|
|
.B xdiff
|
2007-12-08 22:42:33 +00:00
|
|
|
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
|
2009-04-13 11:49:48 +00:00
|
|
|
(which must have .xz or .lzma suffix) and
|
|
|
|
.I file1
|
|
|
|
from which the .xz or .lzma suffix has been stripped.
|
2007-12-08 22:42:33 +00:00
|
|
|
If two files are specified, then they are uncompressed if necessary and fed to
|
|
|
|
.B cmp
|
|
|
|
or
|
|
|
|
.BR diff "."
|
2009-01-19 20:37:16 +00:00
|
|
|
The exit status from
|
2007-12-08 22:42:33 +00:00
|
|
|
.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),
|
2009-04-13 11:49:48 +00:00
|
|
|
.BR xzmore(1),
|
|
|
|
.BR xzgrep(1),
|
|
|
|
.BR xz (1)
|
2007-12-08 22:42:33 +00:00
|
|
|
.SH BUGS
|
|
|
|
Messages from the
|
|
|
|
.B cmp
|
|
|
|
or
|
|
|
|
.B diff
|
|
|
|
programs refer to temporary filenames instead of those specified.
|