--- gzip-1.3.9/zmore.in.pom 2007-01-15 15:31:26.000000000 +0100
+++ gzip-1.3.9/zmore.in 2007-01-15 15:34:06.000000000 +0100
@@ -70,7 +70,7 @@
--v*) exec echo "$version";;
esac
- < "$FILE" || continue
+ if test -e $FILE || test -e $FILE.gz; then
if test $FIRST -eq 0; then
echo $n1 "--More--(Next file: $FILE)$n2"
stty $cb -echo 2>/dev/null
@@ -88,5 +88,7 @@
if test -t 1; then
FIRST=0
fi
+ else < $FILE
+ fi
done
fi