Annotation of 43BSDTahoe/man/tools/prsynops, revision 1.1

1.1     ! root        1: #! /bin/sh
        !             2: set x $*
        !             3: . ./.param
        !             4: 
        !             5: for dir in $DIRLST
        !             6: do
        !             7:        date > $TMPDIR/synops$dir
        !             8:        echo >> $TMPDIR/synops$dir
        !             9:        cd $MANDIR/man$dir
        !            10:        for file in $FILLST
        !            11:        do
        !            12:                so=`line < $file | sed "s/ .*//"`
        !            13:                if test "$so" = ".so"
        !            14:                then
        !            15:                        continue
        !            16:                fi
        !            17:                nroff -man $file > $TMPDIR/tmp.$$
        !            18:                echo "$file:" >> $TMPDIR/synops$dir
        !            19:                ed - $TMPDIR/tmp.$$ >> $TMPDIR/synops$dir <<!
        !            20:                        /SYNOPSIS/;+,/^     [A-Z][A-Z][A-Z][A-Z]/-p
        !            21:                        q
        !            22: !
        !            23:        done
        !            24: done
        !            25: 
        !            26: rm -f $TMPDIR/tmp.$$

unix.superglobalmegacorp.com

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