xz/src/scripts/xzdiff.1

59 lines
1.2 KiB
Groff
Raw Normal View History

.\" 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
xzcmp, xzdiff, lzcmp, lzdiff \- compare .xz and .lzma compressed files
2007-12-08 22:42:33 +00:00
.SH SYNOPSIS
.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
.B lzdiff
2007-12-08 22:42:33 +00:00
.RI [ diff_options "] " file1 " [" file2 ]
.SH DESCRIPTION
.B xzcmp
and
.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
(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 "."
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),
.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.