Annotation of researchv10dc/630/bin/movie, revision 1.1.1.1

1.1       root        1: #!/bin/sh
                      2: 
                      3: # movie: "movie fname" projects movie stored in fname.s/fname.i
                      4: 
                      5: LIB=${LIB-/usr/630/lib/movie}
                      6: MEM=${MEM-65000}
                      7: OPT="-t $LIB/animterm -m$MEM"
                      8: FILE=""
                      9: 
                     10: while true
                     11: do
                     12:        case $1 in
                     13:        -d)     OPT="$OPT -d"; shift ;;
                     14:        -m[0-9][0-9]*) OPT="$OPT $1"; shift ;;
                     15:        -m)     OPT="$OPT $1$2"; shift; shift ;;
                     16:        -t)     OPT="$OPT $1 $2"; shift; shift ;;
                     17:        *)      FILE=$1; break ;;
                     18:        esac
                     19: done
                     20: 
                     21: case $FILE in
                     22: "")
                     23:        trap "rm -f /tmp/movie$$.i" 0 1 2 15
                     24:        $LIB/fdevelop >/tmp/movie$$.i
                     25:        $LIB/anim $OPT /tmp/movie$$.i
                     26:        ;;
                     27: *.i)
                     28:        $LIB/anim $OPT $FILE
                     29:        ;;
                     30: *.s)
                     31:        bn=`echo $FILE | sed s/.s$//`
                     32:        $LIB/develop $bn.s
                     33:        $LIB/anim $OPT $bn.i
                     34:        ;;
                     35: *)
                     36:        echo 'Usage: movie file.s' 1>&2
                     37:        exit 1
                     38:        ;;
                     39: esac
                     40: 
                     41: exit 0

unix.superglobalmegacorp.com

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