From e3d453aef3a1a81d0eb3255f52d338a14b8dec38 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 11 Jul 2003 02:32:03 +0000 Subject: No longer need to assume -g when reading from stdin. --- usr.bin/compress/zmore | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'usr.bin/compress/zmore') 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 # @@ -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 -- cgit v1.2.3