Annotation of 43BSDTahoe/new/patch/myread, revision 1.1

1.1     ! root        1: ans='!'
        !             2: while expr "X$ans" : "X!" >/dev/null; do
        !             3:     read ans
        !             4:     case "$ans" in
        !             5:     !)
        !             6:        sh
        !             7:        echo " "
        !             8:        echo -n "$rp "
        !             9:        ;;
        !            10:     !*)
        !            11:        set `expr "X$ans" : "X!\(.*\)$"`
        !            12:        sh -c "$*"
        !            13:        echo " "
        !            14:        echo -n "$rp "
        !            15:        ;;
        !            16:     esac
        !            17: done
        !            18: rp='Your answer:'

unix.superglobalmegacorp.com

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