Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6]: src/usr.bin/gzip Pull up following revision(s) (requested by ...



details:   https://anonhg.NetBSD.org/src/rev/37402c4de878
branches:  netbsd-6
changeset: 776507:37402c4de878
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Thu Dec 05 18:44:26 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:

 usr.bin/gzip/zmore |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 862c1df33f9f -r 37402c4de878 usr.bin/gzip/zmore
--- a/usr.bin/gzip/zmore        Mon Nov 25 08:31:57 2013 +0000
+++ b/usr.bin/gzip/zmore        Thu Dec 05 18:44:26 2013 +0000
@@ -1,8 +1,8 @@
 #!/bin/sh -
 #
-# $NetBSD: zmore,v 1.3 2004/03/29 09:59:42 wiz Exp $
+# $NetBSD: zmore,v 1.3.52.1 2013/12/05 18:44:26 bouyer Exp $
 #
-# $OpenBSD: zmore,v 1.4 2003/07/29 07:42:45 otto Exp $
+# $OpenBSD: zmore,v 1.6 2008/08/20 09:22:02 mpf Exp $
 #
 # Copyright (c) 2003 Todd C. Miller <Todd.Miller%courtesan.com@localhost>
 #
@@ -41,6 +41,12 @@
        esac
 done
 
+if [ `basename $0` == "zless" ] ; then
+       pager=${PAGER-less}
+else
+       pager=${PAGER-more}
+fi
+
 # No files means read from stdin
 if [ $# -eq 0 ]; then
        gzip -cdfq 2>&1 | ${PAGER-more} $flags



Home | Main Index | Thread Index | Old Index