summaryrefslogtreecommitdiff
path: root/usr.bin/compress/zmore
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-07-11 02:32:03 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-07-11 02:32:03 +0000
commite3d453aef3a1a81d0eb3255f52d338a14b8dec38 (patch)
tree7d94f39ac89a9cc46e33ac6ba46a89041474e3b0 /usr.bin/compress/zmore
parent976b08581ddf46ac48f18b87dd2d9eeae536b03d (diff)
No longer need to assume -g when reading from stdin.
Diffstat (limited to 'usr.bin/compress/zmore')
-rw-r--r--usr.bin/compress/zmore5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/compress/zmore b/usr.bin/compress/zmore
index 0f21517de69..c21bd217d0b 100644
--- a/usr.bin/compress/zmore
+++ b/usr.bin/compress/zmore
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -
#
# Copyright (c) 2003 Todd C. Miller <Todd.Miller@courtesan.com>
#
@@ -38,9 +38,8 @@ while test $# -ne 0; do
done
# No files means read from stdin
-# XXX - cannot distinguish between gzip or compress, assume gzip
if [ $# -eq 0 ]; then
- compress -cdfgq 2>&1 | ${PAGER-more} $flags
+ compress -cdfq 2>&1 | ${PAGER-more} $flags
exit 0
fi