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