comparison CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/share/man/man1/xzcmp.1 @ 68:5028fdace37b

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 16:23:26 -0400
parents
children
comparison
equal deleted inserted replaced
67:0e9998148a16 68:5028fdace37b
1 .\" SPDX-License-Identifier: 0BSD
2 .\"
3 .\" Authors: Lasse Collin
4 .\" Jia Tan
5 .\"
6 .\" (Note that this file is not based on gzip's zdiff.1.)
7 .\"
8 .TH XZDIFF 1 "2024-02-13" "Tukaani" "XZ Utils"
9 .SH NAME
10 xzcmp, xzdiff, lzcmp, lzdiff \- compare compressed files
11 .
12 .SH SYNOPSIS
13 .B xzcmp
14 .RI [ option... ]
15 .I file1
16 .RI [ file2 ]
17 .br
18 .B xzdiff
19 \&...
20 .br
21 .B lzcmp
22 \&...
23 .br
24 .B lzdiff
25 \&...
26 .
27 .SH DESCRIPTION
28 .B xzcmp
29 and
30 .B xzdiff
31 compare uncompressed contents of two files.
32 Uncompressed data and options are passed to
33 .BR cmp (1)
34 or
35 .BR diff (1)
36 unless
37 .B \-\-help
38 or
39 .B \-\-version
40 is specified.
41 .PP
42 If both
43 .I file1
44 and
45 .I file2
46 are specified, they can be uncompressed files or files in formats that
47 .BR xz (1),
48 .BR gzip (1),
49 .BR bzip2 (1),
50 .BR lzop (1),
51 .BR zstd (1),
52 or
53 .BR lz4 (1)
54 can decompress.
55 The required decompression commands are determined from
56 the filename suffixes of
57 .I file1
58 and
59 .IR file2 .
60 A file with an unknown suffix is assumed to be either uncompressed
61 or in a format that
62 .BR xz (1)
63 can decompress.
64 .PP
65 If only one filename is provided,
66 .I file1
67 must have a suffix of a supported compression format and the name for
68 .I file2
69 is assumed to be
70 .I file1
71 with the compression format suffix removed.
72 .PP
73 The commands
74 .B lzcmp
75 and
76 .B lzdiff
77 are provided for backward compatibility with LZMA Utils.
78 .
79 .SH EXIT STATUS
80 If a decompression error occurs, the exit status is
81 .BR 2 .
82 Otherwise the exit status of
83 .BR cmp (1)
84 or
85 .BR diff (1)
86 is used.
87 .
88 .SH "SEE ALSO"
89 .BR cmp (1),
90 .BR diff (1),
91 .BR xz (1),
92 .BR gzip (1),
93 .BR bzip2 (1),
94 .BR lzop (1),
95 .BR zstd (1),
96 .BR lz4 (1)