Annotation of researchv10no/cmd/movie/omovie, 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/lib/movie}
                      6: MEM=${MEM-65000}
                      7: 
                      8: case $# in
                      9: 1)     ;;
                     10: 0)     trap "rm -f /tmp/movie$$.i" 0 1 2 15
                     11:        $LIB/fdevelop >/tmp/movie$$.i
                     12:        $LIB/anim -t $LIB/animterm -m$MEM /tmp/movie$$.i
                     13:        exit 0
                     14:        ;;
                     15: *)     echo 'Usage: movie file.s' 1>&2; exit 1
                     16: esac
                     17: 
                     18: case $1 in
                     19: *.i)
                     20:        $LIB/anim -t $LIB/animterm -m$MEM $1 ;;
                     21: *.s)
                     22:        bn=`echo $1 | sed s/.s$//`
                     23:        $LIB/develop $bn.s
                     24:        $LIB/anim -t $LIB/animterm -m$MEM $bn.i ;;
                     25: *)
                     26:        echo 'Usage: movie file.s' 1>&2; exit 1
                     27: esac
                     28: 
                     29: exit 0

unix.superglobalmegacorp.com

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