Module Name: src
Committed By: bouyer
Date: Sun Nov 17 18:19:45 UTC 2013
Modified Files:
src/distrib/sets/lists/base [netbsd-6]: mi
src/distrib/sets/lists/man [netbsd-6]: mi
src/usr.bin/gzip [netbsd-6]: Makefile zmore.1
Log Message:
Pull up following revision(s) (requested by pettai in ticket #982):
distrib/sets/lists/base/mi: revision 1.1049
distrib/sets/lists/man/mi: revision 1.1449
usr.bin/gzip/Makefile: revision 1.17
usr.bin/gzip/Makefile: revision 1.18
usr.bin/gzip/zmore: revision 1.4
usr.bin/gzip/zmore.1: revision 1.4
Added zless(1) - comes in the lastest version of zmore(1) from OpenBSD
(OKed by tron@)
Add zfgrep that fell off from last update
To generate a diff of this commit:
cvs rdiff -u -r1.984.2.15 -r1.984.2.16 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.1379.2.10 -r1.1379.2.11 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.16 -r1.16.4.1 src/usr.bin/gzip/Makefile
cvs rdiff -u -r1.3 -r1.3.58.1 src/usr.bin/gzip/zmore.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/sets/lists/base/mi
diff -u src/distrib/sets/lists/base/mi:1.984.2.15 src/distrib/sets/lists/base/mi:1.984.2.16
--- src/distrib/sets/lists/base/mi:1.984.2.15 Thu Mar 14 19:16:40 2013
+++ src/distrib/sets/lists/base/mi Sun Nov 17 18:19:45 2013
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.984.2.15 2013/03/14 19:16:40 riz Exp $
+# $NetBSD: mi,v 1.984.2.16 2013/11/17 18:19:45 bouyer Exp $
#
# Note: Don't delete entries from here - mark them as "obsolete" instead,
# unless otherwise stated below.
@@ -767,6 +767,7 @@
./usr/bin/zfgrep base-util-bin
./usr/bin/zforce base-util-bin
./usr/bin/zgrep base-util-bin
+./usr/bin/zless base-util-bin
./usr/bin/zmore base-util-bin
./usr/bin/znew base-util-bin
./usr/bin/ztest base-zfs-bin zfs
Index: src/distrib/sets/lists/man/mi
diff -u src/distrib/sets/lists/man/mi:1.1379.2.10 src/distrib/sets/lists/man/mi:1.1379.2.11
--- src/distrib/sets/lists/man/mi:1.1379.2.10 Thu Jun 13 07:30:45 2013
+++ src/distrib/sets/lists/man/mi Sun Nov 17 18:19:45 2013
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1379.2.10 2013/06/13 07:30:45 msaitoh Exp $
+# $NetBSD: mi,v 1.1379.2.11 2013/11/17 18:19:45 bouyer Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@@ -599,6 +599,7 @@
./usr/share/man/cat1/zfgrep.0 man-util-catman .cat
./usr/share/man/cat1/zforce.0 man-util-catman .cat
./usr/share/man/cat1/zgrep.0 man-util-catman .cat
+./usr/share/man/cat1/zless.0 man-util-catman .cat
./usr/share/man/cat1/zmore.0 man-util-catman .cat
./usr/share/man/cat1/znew.0 man-util-catman .cat
./usr/share/man/cat3/atari/ahdi_buildlabel.0 man-obsolete obsolete
@@ -3530,6 +3531,7 @@
./usr/share/man/html1/zfgrep.html man-util-htmlman html
./usr/share/man/html1/zforce.html man-util-htmlman html
./usr/share/man/html1/zgrep.html man-util-htmlman html
+./usr/share/man/html1/zless.html man-util-htmlman html
./usr/share/man/html1/zmore.html man-util-htmlman html
./usr/share/man/html1/znew.html man-util-htmlman html
./usr/share/man/html4/aac.html man-sys-htmlman html
@@ -6126,6 +6128,7 @@
./usr/share/man/man1/zfgrep.1 man-util-man .man
./usr/share/man/man1/zforce.1 man-util-man .man
./usr/share/man/man1/zgrep.1 man-util-man .man
+./usr/share/man/man1/zless.1 man-util-man .man
./usr/share/man/man1/zmore.1 man-util-man .man
./usr/share/man/man1/znew.1 man-util-man .man
./usr/share/man/man3/atari/ahdi_buildlabel.3 man-obsolete obsolete
Index: src/usr.bin/gzip/Makefile
diff -u src/usr.bin/gzip/Makefile:1.16 src/usr.bin/gzip/Makefile:1.16.4.1
--- src/usr.bin/gzip/Makefile:1.16 Tue Jun 21 13:25:45 2011
+++ src/usr.bin/gzip/Makefile Sun Nov 17 18:19:45 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2011/06/21 13:25:45 joerg Exp $
+# $NetBSD: Makefile,v 1.16.4.1 2013/11/17 18:19:45 bouyer Exp $
USE_FORT?= yes # data-driven bugs?
@@ -15,13 +15,15 @@ MLINKS+= gzip.1 gunzip.1 \
gzip.1 zcat.1 \
zdiff.1 zcmp.1 \
zgrep.1 zegrep.1 \
- zgrep.1 zfgrep.1
+ zgrep.1 zfgrep.1 \
+ zmore.1 zless.1
LINKS+= ${BINDIR}/gzip ${BINDIR}/gunzip \
${BINDIR}/gzip ${BINDIR}/gzcat \
${BINDIR}/gzip ${BINDIR}/zcat \
${BINDIR}/zdiff ${BINDIR}/zcmp \
${BINDIR}/zgrep ${BINDIR}/zegrep \
- ${BINDIR}/zgrep ${BINDIR}/zfgrep
+ ${BINDIR}/zgrep ${BINDIR}/zfgrep \
+ ${BINDIR}/zmore ${BINDIR}/zless
.include <bsd.prog.mk>
Index: src/usr.bin/gzip/zmore.1
diff -u src/usr.bin/gzip/zmore.1:1.3 src/usr.bin/gzip/zmore.1:1.3.58.1
--- src/usr.bin/gzip/zmore.1:1.3 Sun Dec 28 12:47:52 2003
+++ src/usr.bin/gzip/zmore.1 Sun Nov 17 18:19:45 2013
@@ -1,5 +1,5 @@
-.\" $NetBSD: zmore.1,v 1.3 2003/12/28 12:47:52 wiz Exp $
-.\" $OpenBSD: zmore.1,v 1.3 2003/06/23 21:00:48 deraadt Exp $
+.\" $NetBSD: zmore.1,v 1.3.58.1 2013/11/17 18:19:45 bouyer Exp $
+.\" $OpenBSD: zmore.1,v 1.10 2009/08/16 09:41:08 sobrado Exp $
.\"
.\" Copyright (c) 2003 Todd C. Miller <[email protected]>
.\"
@@ -19,16 +19,20 @@
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\"
-.Dd June 23, 2003
+.Dd August 16, 2009
.Dt ZMORE 1
.Os
.Sh NAME
-.Nm zmore
-.Nd view compressed files on a CRT
+.Nm zmore ,
+.Nm zless
+.Nd view compressed files
.Sh SYNOPSIS
.Nm zmore
.Op Ar flags
-.Op Ar file ...
+.Op Ar
+.Nm zless
+.Op Ar flags
+.Op Ar
.Sh DESCRIPTION
.Nm
is a filter that allows the viewing of files compressed with Lempel-Ziv
@@ -50,6 +54,14 @@ that are specified are passed to the use
.Pa /usr/bin/more
by default).
.Pp
+.Nm zless
+is equivalent to
+.Nm zmore
+but uses
+.Xr less 1
+as a pager instead of
+.Xr more 1 .
+.Pp
When multiple files are specified,
.Nm
will pause at the end of each file and present the following prompt to the user:
@@ -85,7 +97,11 @@ style compression since there is no suff
Program used to display files.
If unset,
.Pa /usr/bin/more
-is used.
+is used
+.Pq Nm zmore
+or
+.Pa /usr/bin/less
+.Pq Nm zless .
.El
.Sh SEE ALSO
.Xr compress 1 ,