diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-01-23 05:54:13 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-01-23 05:54:13 +0000 |
commit | e50d8921980602c5569b31dd9d12a24b43a196e8 (patch) | |
tree | d7240fd2cd209b129f72dac13832b6cfce13dc76 /doc/zcmp.1 | |
parent | Releasing debian version 1.12-3. (diff) | |
download | zutils-e50d8921980602c5569b31dd9d12a24b43a196e8.tar.xz zutils-e50d8921980602c5569b31dd9d12a24b43a196e8.zip |
Merging upstream version 1.13~rc1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/zcmp.1')
-rw-r--r-- | doc/zcmp.1 | 17 |
1 files changed, 6 insertions, 11 deletions
@@ -1,5 +1,5 @@ -.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16. -.TH ZCMP "1" "January 2023" "zutils 1.12" "User Commands" +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2. +.TH ZCMP "1" "December 2023" "zutils 1.13-rc1" "User Commands" .SH NAME zcmp \- decompress and compare two files byte by byte .SH SYNOPSIS @@ -15,15 +15,10 @@ files are decompressed on the fly; no temporary files are created. The formats supported are bzip2, gzip, lzip, xz, and zstd. .PP zcmp compares file1 to file2. The standard input is used only if file1 or -file2 refers to standard input. If file2 is omitted zcmp tries the -following: -.IP -\- If file1 is compressed, compares its decompressed contents with -the corresponding uncompressed file (the name of file1 with the -extension removed). -.IP -\- If file1 is uncompressed, compares it with the decompressed -contents of file1.[lz|bz2|gz|zst|xz] (the first one that is found). +file2 refers to standard input. If file2 is omitted zcmp tries to compare +file1 with the corresponding uncompressed file (if file1 is compressed), and +then with the corresponding compressed files of the remaining formats until +one is found. .PP Exit status is 0 if inputs are identical, 1 if different, 2 if trouble. .SH OPTIONS |