summaryrefslogtreecommitdiffstats
path: root/doc/zcmp.1
diff options
context:
space:
mode:
Diffstat (limited to 'doc/zcmp.1')
-rw-r--r--doc/zcmp.117
1 files changed, 6 insertions, 11 deletions
diff --git a/doc/zcmp.1 b/doc/zcmp.1
index 9071c36..ea9ce7b 100644
--- a/doc/zcmp.1
+++ b/doc/zcmp.1
@@ -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