Annotation of 42BSD/usr.bin/diction/style.sh, revision 1.1

1.1     ! root        1: #! /bin/sh
        !             2: #
        !             3: #      @(#)style.sh    4.5     (Berkeley)      82/11/06
        !             4: #
        !             5: L=/usr/lib
        !             6: B=/usr/bin
        !             7: echo " " $*
        !             8: sflag=-s
        !             9: eflag=
        !            10: Pflag=
        !            11: nflag=
        !            12: lflag=
        !            13: lcon=
        !            14: rflag=
        !            15: rcon=
        !            16: mflag=-me
        !            17: mlflag=-ml
        !            18: kflag=
        !            19: for i in $*
        !            20: do case $i in
        !            21: -r) rflag=-r; shift; rcon=$1;shift;continue;;
        !            22: -l)lflag=-l; shift; lcon=$1;shift;continue;;
        !            23: -mm) mflag=-mm;shift;continue;;
        !            24: -ms) mflag=-ms;shift;continue;;
        !            25: -me) mflag=-me;shift;continue;;
        !            26: -ma) mflag=-ma;shift;continue;;
        !            27: -li|-ml) mlflag=-ml;shift;continue;;
        !            28: +li|-tt)mlflag=;shift;continue;;
        !            29: -p) sflag=-p;shift;continue;;
        !            30: -a) sflag=-a;shift;continue;;
        !            31: -e) eflag=-e;shift;continue;;
        !            32: -P) Pflag=-P;shift;continue;;
        !            33: -n) nflag=-n;shift;continue;;
        !            34: -N) nflag=-N;shift;continue;;
        !            35: -k) kflag=-k;shift;continue;;
        !            36: -flags) echo $0 "[-flags] [-r num] [-l num] [-e] [-p] [-n] [-N] [-a] [-P] [-mm|-ms] [-li|+li] [file ...]";exit;;
        !            37: -*) echo unknown style flag $i; exit;;
        !            38: *) break;;
        !            39: esac
        !            40: done
        !            41: $B/deroff $kflag $mflag $mlflag $*^$L/style1^$L/style2^$L/style3 $rflag $rcon $lflag $lcon $sflag $nflag $eflag $Pflag

unix.superglobalmegacorp.com

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