]> icculus.org git repositories - icculus/xz.git/blob - src/scripts/xzdiff.1
Cast a char argument to isspace() to unsigned char.
[icculus/xz.git] / src / scripts / xzdiff.1
1 .\" Original file was take from gzip, thus this man page is under GNU GPLv2+.
2 .TH XZDIFF 1 "2009-04-13" "XZ Utils"
3 .SH NAME
4 xzcmp, xzdiff, lzcmp, lzdiff \- compare .xz and .lzma compressed files
5 .SH SYNOPSIS
6 .B xzcmp
7 .RI [ cmp_options "] " file1 " [" file2 ]
8 .br
9 .B xzdiff
10 .RI [ diff_options "] " file1 " [" file2 ]
11 .br
12 .B lzcmp
13 .RI [ cmp_options "] " file1 " [" file2 ]
14 .br
15 .B lzdiff
16 .RI [ diff_options "] " file1 " [" file2 ]
17 .SH DESCRIPTION
18 .B  xzcmp
19 and
20 .B xdiff
21 are used to invoke the
22 .BR cmp (1)
23 or the
24 .BR diff (1)
25 program on compressed files.  All options specified are passed directly to
26 .B cmp
27 or
28 .BR diff "."
29 If only 1 file is specified, then the files compared are
30 .I file1
31 (which must have .xz or .lzma suffix) and
32 .I file1
33 from which the .xz or .lzma suffix has been stripped.
34 If two files are specified, then they are uncompressed if necessary and fed to
35 .B cmp
36 or
37 .BR diff "."
38 The exit status from
39 .B cmp
40 or
41 .B diff
42 is preserved.
43 .SH AUTHORS
44 This manual page was ripped from
45 .BR zdiff (1)
46 shipped in gzip package.
47 .SH "SEE ALSO"
48 .BR cmp (1),
49 .BR diff (1),
50 .BR xzmore(1),
51 .BR xzgrep(1),
52 .BR xz (1)
53 .SH BUGS
54 Messages from the
55 .B cmp
56 or
57 .B diff
58 programs refer to temporary filenames instead of those specified.