OLD | NEW |
(Empty) | |
| 1 .\" |
| 2 .\" Original zdiff.1 for gzip: Jean-loup Gailly |
| 3 .\" |
| 4 .\" Modifications for XZ Utils: Lasse Collin |
| 5 .\" Andrew Dudman |
| 6 .\" |
| 7 .\" License: GNU GPLv2+ |
| 8 .\" |
| 9 .TH XZDIFF 1 "2009-07-05" "Tukaani" "XZ Utils" |
| 10 .SH NAME |
| 11 xzcmp, xzdiff, lzcmp, lzdiff \- compare compressed files |
| 12 .SH SYNOPSIS |
| 13 .B xzcmp |
| 14 .RI [ cmp_options "] " file1 " [" file2 ] |
| 15 .br |
| 16 .B xzdiff |
| 17 .RI [ diff_options "] " file1 " [" file2 ] |
| 18 .br |
| 19 .B lzcmp |
| 20 .RI [ cmp_options "] " file1 " [" file2 ] |
| 21 .br |
| 22 .B lzdiff |
| 23 .RI [ diff_options "] " file1 " [" file2 ] |
| 24 .SH DESCRIPTION |
| 25 .B xzcmp |
| 26 and |
| 27 .B xzdiff |
| 28 invoke |
| 29 .BR cmp (1) |
| 30 or |
| 31 .BR diff (1) |
| 32 on files compressed with |
| 33 .BR xz (1), |
| 34 .BR lzma (1), |
| 35 .BR gzip (1), |
| 36 or |
| 37 .BR bzip2 (1). |
| 38 All options specified are passed directly to |
| 39 .B cmp |
| 40 or |
| 41 .BR diff . |
| 42 If only one file is specified, then the files compared are |
| 43 .I file1 |
| 44 (which must have a suffix of a supported compression format) and |
| 45 .I file1 |
| 46 from which the compression format suffix has been stripped. |
| 47 If two files are specified, then they are uncompressed if necessary and fed to |
| 48 .BR cmp (1) |
| 49 or |
| 50 .BR diff (1). |
| 51 The exit status from |
| 52 .B cmp |
| 53 or |
| 54 .B diff |
| 55 is preserved. |
| 56 .PP |
| 57 The names |
| 58 .B lzcmp |
| 59 and |
| 60 .B lzdiff |
| 61 are provided for backward compatibility with LZMA Utils. |
| 62 .SH "SEE ALSO" |
| 63 .BR cmp (1), |
| 64 .BR diff (1), |
| 65 .BR xz (1), |
| 66 .BR gzip (1), |
| 67 .BR bzip2 (1), |
| 68 .BR zdiff (1) |
| 69 .SH BUGS |
| 70 Messages from the |
| 71 .BR cmp (1) |
| 72 or |
| 73 .BR diff (1) |
| 74 programs refer to temporary filenames instead of those specified. |
OLD | NEW |