--- 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 @@ -66,7 +66,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 @@ -83,6 +83,8 @@ fi if test -t 1; then FIRST=0 - fi + fi + else < $FILE + fi done fi