summaryrefslogtreecommitdiff
path: root/usr.bin/compress/zmore
diff options
context:
space:
mode:
authorVadim Zhukov <zhuk@cvs.openbsd.org>2014-05-07 21:42:51 +0000
committerVadim Zhukov <zhuk@cvs.openbsd.org>2014-05-07 21:42:51 +0000
commitca20a2ae094cccd6eae28f68f1f59529c31767b9 (patch)
tree4b0d77cc1abaa1cf38e209fdc61b4a1284bb3346 /usr.bin/compress/zmore
parentb77f6354cc35f5b9ac2774ce6c72bb535b5d8e6c (diff)
When you want more, you say "more". When you want less, you say "less".
When you don't get what you asked for, you get angry. When you add a tiny bit, it should be "more" or "less" still, or you'll get angry. So lets make zmore(1) call more(1) and zless(1) call less(1), as it's supposed to be. okay and input from ingo@, no objections from author AKA millert@
Diffstat (limited to 'usr.bin/compress/zmore')
-rw-r--r--usr.bin/compress/zmore6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/compress/zmore b/usr.bin/compress/zmore
index 98522ef9da6..3d1d38bcf0f 100644
--- a/usr.bin/compress/zmore
+++ b/usr.bin/compress/zmore
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: zmore,v 1.6 2008/08/20 09:22:02 mpf Exp $
+# $OpenBSD: zmore,v 1.7 2014/05/07 21:42:50 zhuk Exp $
#
# Copyright (c) 2003 Todd C. Miller <Todd.Miller@courtesan.com>
#
@@ -40,9 +40,9 @@ while test $# -ne 0; do
done
if [ `basename $0` == "zless" ] ; then
- pager=${PAGER-less}
+ pager=less
else
- pager=${PAGER-more}
+ pager=more
fi
# No files means read from stdin