Annotation of 43BSD/usr.bin/diction/diction.sh, revision 1.1.1.1

1.1       root        1: #! /bin/sh
                      2: #
                      3: #      @(#)diction.sh  4.5     (Berkeley)      82/11/06
                      4: #
                      5: D=/usr/bin
                      6: B=/usr/lib
                      7: echo $*
                      8: rest=
                      9: flag=
                     10: nflag=
                     11: mflag=-me
                     12: lflag=-ml
                     13: kflag=
                     14: file=
                     15: for i
                     16: do case $i in
                     17:  -f) flag=-f;shift; file=$1; shift; continue;;
                     18: -n) nflag=-n;shift; continue;;
                     19: -k) kflag=-k;shift; continue;;
                     20:  -mm) mflag=$1; shift; continue;;
                     21: -ms) mflag=$1;shift;continue;;
                     22: -me) mflag=$1;shift;continue;;
                     23: -ma) mflag=$1;shift;continue;;
                     24: -ml) lflag=$1;shift;continue;;
                     25: *) rest=$*; break;;
                     26: esac
                     27: done
                     28:  $D/deroff $kflag $lflag $mflag $rest^$B/dprog -d $nflag $flag $file

unix.superglobalmegacorp.com

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