diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-01-23 05:54:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-01-23 05:54:09 +0000 |
commit | b95f39dfdb659097af23465ec2a533a254fd4ac5 (patch) | |
tree | c706cd4227ea65ece171824e07a2f5cf98a291b0 /doc/zcmp.1 | |
parent | Adding upstream version 1.12. (diff) | |
download | zutils-b95f39dfdb659097af23465ec2a533a254fd4ac5.tar.xz zutils-b95f39dfdb659097af23465ec2a533a254fd4ac5.zip |
Adding upstream version 1.13~rc1.upstream/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 |