Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6]: src Pull up following revision(s) (requested by pettai in tic...
details: https://anonhg.NetBSD.org/src/rev/f7178977df9e
branches: netbsd-6
changeset: 776496:f7178977df9e
user: bouyer <bouyer%NetBSD.org@localhost>
date: Sun Nov 17 18:19:45 2013 +0000
description:
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
diffstat:
distrib/sets/lists/base/mi | 3 ++-
distrib/sets/lists/man/mi | 5 ++++-
usr.bin/gzip/Makefile | 8 +++++---
usr.bin/gzip/zmore.1 | 30 +++++++++++++++++++++++-------
4 files changed, 34 insertions(+), 12 deletions(-)
diffs (141 lines):
diff -r 177bfd8304ee -r f7178977df9e distrib/sets/lists/base/mi
--- a/distrib/sets/lists/base/mi Sun Nov 17 18:14:47 2013 +0000
+++ b/distrib/sets/lists/base/mi Sun Nov 17 18:19:45 2013 +0000
@@ -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
diff -r 177bfd8304ee -r f7178977df9e distrib/sets/lists/man/mi
--- a/distrib/sets/lists/man/mi Sun Nov 17 18:14:47 2013 +0000
+++ b/distrib/sets/lists/man/mi Sun Nov 17 18:19:45 2013 +0000
@@ -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
diff -r 177bfd8304ee -r f7178977df9e usr.bin/gzip/Makefile
--- a/usr.bin/gzip/Makefile Sun Nov 17 18:14:47 2013 +0000
+++ b/usr.bin/gzip/Makefile Sun Nov 17 18:19:45 2013 +0000
@@ -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 @@
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>
diff -r 177bfd8304ee -r f7178977df9e usr.bin/gzip/zmore.1
--- a/usr.bin/gzip/zmore.1 Sun Nov 17 18:14:47 2013 +0000
+++ b/usr.bin/gzip/zmore.1 Sun Nov 17 18:19:45 2013 +0000
@@ -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 <Todd.Miller%courtesan.com@localhost>
.\"
@@ -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 @@
.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 @@
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 ,
Home |
Main Index |
Thread Index |
Old Index