20 lines
449 B
Diff
20 lines
449 B
Diff
|
--- gzip-1.3.9/zmore.in 2006-12-09 05:25:56.000000000 +0100
|
||
|
+++ gzip-1.3.9/zmore.in.addsuffix 2006-12-18 10:36:45.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
|
||
|
@@ -84,5 +84,7 @@
|
||
|
if test -t 1; then
|
||
|
FIRST=0
|
||
|
fi
|
||
|
+ else < $FILE
|
||
|
+ fi
|
||
|
done
|
||
|
fi
|