summaryrefslogtreecommitdiffstats
path: root/usr.bin/gzip/zdiff.1
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2011-05-23 09:02:44 +0000
committerdelphij <delphij@FreeBSD.org>2011-05-23 09:02:44 +0000
commitf71ef98f21035641932d7e1aa2311e27af0fd5eb (patch)
tree99b89e7c9d903b18cc4e2aae4682da6a191027c7 /usr.bin/gzip/zdiff.1
parent383b306f0a67acf8f459ff44a54abfdc085a7b0e (diff)
downloadFreeBSD-src-f71ef98f21035641932d7e1aa2311e27af0fd5eb.zip
FreeBSD-src-f71ef98f21035641932d7e1aa2311e27af0fd5eb.tar.gz
Diff reduction against NetBSD. The most notable change is to zdiff(1) to
handle more file formats including bzip2 and xz. MFC after: 2 weeks
Diffstat (limited to 'usr.bin/gzip/zdiff.1')
-rw-r--r--usr.bin/gzip/zdiff.159
1 files changed, 46 insertions, 13 deletions
diff --git a/usr.bin/gzip/zdiff.1 b/usr.bin/gzip/zdiff.1
index 2a6a4c8..52b5fbd 100644
--- a/usr.bin/gzip/zdiff.1
+++ b/usr.bin/gzip/zdiff.1
@@ -1,7 +1,8 @@
-.\" $NetBSD: zdiff.1,v 1.3 2003/12/28 12:48:03 wiz Exp $
+.\" $NetBSD: zdiff.1,v 1.5 2010/04/14 19:52:05 wiz Exp $
.\" $OpenBSD: zdiff.1,v 1.2 2003/07/13 17:39:14 millert Exp $
.\"
.\" Copyright (c) 2003 Todd C. Miller <Todd.Miller@courtesan.com>
+.\" Copyright (c) 2010 Joerg Sonnenberger <joerg@NetBSD.org>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
@@ -20,7 +21,7 @@
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\"
.\" $FreeBSD$
-.Dd January 26, 2007
+.Dd May 23, 2011
.Dt ZDIFF 1
.Os
.Sh NAME
@@ -45,15 +46,6 @@ are filters that invoke
or
.Xr diff 1
respectively to compare compressed files.
-Such files generally have a
-.Dq Z
-or
-.Dq gz
-extension (both the
-.Xr compress 1
-and
-.Xr gzip 1
-formats are supported).
Any
.Ar options
that are specified are passed to
@@ -70,6 +62,45 @@ When both
or
.Ar file2
are specified, either file may be compressed.
+.Pp
+Extensions handled by
+.Xr gzip 1 :
+.Bl -bullet -compact
+.It
+z, Z,
+.It
+gz,
+.It
+taz,
+.It
+tgz.
+.El
+.Pp
+Extensions handled by
+.Xr bzip2 1 :
+.Bl -bullet -compact
+.It
+bz,
+.It
+bz2,
+.It
+tbz,
+.It
+tbz2.
+.El
+.Pp
+Extensions handled by
+.Xr xz 1 :
+.Bl -bullet -compact
+.It
+lzma,
+.It
+xz,
+.It
+tlz,
+.It
+txz.
+.El
.Sh ENVIRONMENT
.Bl -tag -width "TMPDIR"
.It Ev TMPDIR
@@ -88,9 +119,11 @@ Temporary file for
.Nm zdiff .
.El
.Sh SEE ALSO
+.Xr bzip2 1 ,
.Xr cmp 1 ,
-.Xr compress 1 ,
-.Xr diff 1
+.Xr diff 1 ,
+.Xr gzip 1 ,
+.Xr xz 1
.Sh CAVEATS
.Nm zcmp
and
OpenPOWER on IntegriCloud