Annotation of 43BSD/contrib/B/ex/DoExamples, revision 1.1

1.1     ! root        1: bint=$1
        !             2: case $bint in
        !             3: 'bint')                WS='generate hanoi pi xref';;
        !             4: 'bsmall')      WS='generate hanoi xref';;
        !             5: *)             echo "usage: $0 bint, or: $0 bsmall"
        !             6:                exit 1;;
        !             7: esac
        !             8: for ws in $WS
        !             9: do
        !            10:        cd $ws
        !            11:        echo ""
        !            12:        echo "Testing $ws example ..."
        !            13:        echo ""
        !            14:        ../../bin/b <In | tee Out
        !            15:        echo ""
        !            16:        if cmp -s Out $bint.O
        !            17:        then
        !            18:                echo "... $ws example OK ..."
        !            19:        else
        !            20:                echo "... $ws example NOT OK ..."
        !            21:                echo "Differences: <is >should-be"
        !            22:                diff Out $bint.O
        !            23:        fi
        !            24:        echo ""
        !            25:        echo "... $ws example done"
        !            26:        cd ..
        !            27: done

unix.superglobalmegacorp.com

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