Annotation of researchv10no/cmd/compress/zmore, revision 1.1.1.1

1.1       root        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

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.