Added -clobber switch to mhstore(1) [Bug #11160].
[mmh] / docs / historical / mh-6.8.5 / miscellany / compress-4.0 / zmore
1 FIRST=1
2 for FILE
3 do
4         if test $FIRST -eq 0; then
5                 echo "--More--(Next file: $FILE)\c"
6                 stty cbreak -echo
7                 ANS=`dd bs=1 count=1 2>/dev/null` 
8                 stty -cbreak echo
9                 echo " "
10                 if test "$ANS" = 'e'; then
11                         exit
12                 fi
13         fi
14         echo "------> $FILE <------"
15         zcat $FILE | more
16         if test -t; then
17                 FIRST=0
18         fi
19 done