Annotation of researchv10dc/man/adm/makcont, revision 1.1.1.1

1.1       root        1: for i in /usr/man/man[1-9]
                      2: do
                      3:        cd $i
                      4:        sed -n '
                      5: /^\.TH */{
                      6: s///
                      7: s/\([^ ]*  *[^ ]*\).*/\1/
                      8: h
                      9: }
                     10: /SH *NAME/,/SH/{
                     11: /.*-  */{
                     12: s///
                     13: G
                     14: s/\([^\n]*\)\n\([^ ]*\)  *\([^ ]*\)/.yy \2(\3) "\1"/p
                     15: }
                     16: }
                     17: ' *
                     18: done|fgrep -v -f donotprint|
                     19: sort -t\( +1n +0f >contents
                     20: e - contents <<!
                     21: /INTRO(1)/m0
                     22: /INTRO(2)/;.m?(1)?
                     23: /INTRO(3)/;.m?(2)?
                     24: /INTRO(9)/;.m?(8)?
                     25: /LENS(/s/bitmap/& magnifier/
                     26: 1i
                     27: .yy "" "permuted index"
                     28: .yy "" introduction
                     29: .yy "" glossary
                     30: .
                     31: w
                     32: !

unix.superglobalmegacorp.com

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