summaryrefslogtreecommitdiffstats
path: root/doc/zdiff.1
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-01-23 05:54:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-01-23 05:54:09 +0000
commitb95f39dfdb659097af23465ec2a533a254fd4ac5 (patch)
treec706cd4227ea65ece171824e07a2f5cf98a291b0 /doc/zdiff.1
parentAdding upstream version 1.12. (diff)
downloadzutils-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/zdiff.1')
-rw-r--r--doc/zdiff.119
1 files changed, 7 insertions, 12 deletions
diff --git a/doc/zdiff.1 b/doc/zdiff.1
index 05a95cd..c169de1 100644
--- a/doc/zdiff.1
+++ b/doc/zdiff.1
@@ -1,5 +1,5 @@
-.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
-.TH ZDIFF "1" "January 2023" "zutils 1.12" "User Commands"
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2.
+.TH ZDIFF "1" "December 2023" "zutils 1.13-rc1" "User Commands"
.SH NAME
zdiff \- decompress and compare two files line by line
.SH SYNOPSIS
@@ -17,15 +17,10 @@ from diff refer to temporary file names instead of those specified.
The formats supported are bzip2, gzip, lzip, xz, and zstd.
.PP
zdiff compares file1 to file2. The standard input is used only if file1 or
-file2 refers to standard input. If file2 is omitted zdiff 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 zdiff 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.
Some options only work if the diff program used supports them.
@@ -59,7 +54,7 @@ try hard to find a smaller set of changes
ignore changes due to tab expansion
.TP
\fB\-i\fR, \fB\-\-ignore\-case\fR
-ignore case differences in file contents
+ignore case differences
.TP
\fB\-M\fR, \fB\-\-format=\fR<list>
process only the formats in <list>