summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/gzip/zdiff.1
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1993-06-18 18:39:41 +0000
committernate <nate@FreeBSD.org>1993-06-18 18:39:41 +0000
commit12c4fd169736d45ab4b2b3f55301ecceaf9c67b3 (patch)
treeff423954f6049c9cdc9673d76e5867f99adeeb7e /gnu/usr.bin/gzip/zdiff.1
parent7067738d6ce62410bf037507ed279733f38b3910 (diff)
downloadFreeBSD-src-12c4fd169736d45ab4b2b3f55301ecceaf9c67b3.zip
FreeBSD-src-12c4fd169736d45ab4b2b3f55301ecceaf9c67b3.tar.gz
Gzip 1.1
Diffstat (limited to 'gnu/usr.bin/gzip/zdiff.1')
-rw-r--r--gnu/usr.bin/gzip/zdiff.144
1 files changed, 44 insertions, 0 deletions
diff --git a/gnu/usr.bin/gzip/zdiff.1 b/gnu/usr.bin/gzip/zdiff.1
new file mode 100644
index 0000000..44f9137
--- /dev/null
+++ b/gnu/usr.bin/gzip/zdiff.1
@@ -0,0 +1,44 @@
+.TH ZDIFF 1
+.SH NAME
+zcmp, zdiff \- compare compressed files
+.SH SYNOPSIS
+.B zcmp
+[ cmp_options ] file1
+[ file2 ]
+.br
+.B zdiff
+[ diff_options ] file1
+[ file2 ]
+.SH DESCRIPTION
+.I Zcmp
+and
+.I zdiff
+are used to invoke the
+.I cmp
+or the
+.I diff
+program on compressed files. All options specified are passed directly to
+.I cmp
+or
+.IR diff "."
+If only 1 file is specified, then the files compared are
+.I file1
+and an uncompressed
+.IR file1 ".gz."
+If two files are specified, then they are uncompressed if necessary and fed to
+.I cmp
+or
+.IR diff "."
+The exit status from
+.I cmp
+or
+.I diff
+is preserved.
+.SH "SEE ALSO"
+cmp(1), diff(1), zmore(1), znew(1), zforce(1), gzip(1), gzexe(1)
+.SH BUGS
+Messages from the
+.I cmp
+or
+.I diff
+programs refer to temporary filenames instead of those specified.
OpenPOWER on IntegriCloud