Annotation of 42BSD/ingres/doc/toc.sh, revision 1.1.1.1

1.1       root        1: #
                      2: foreach i ($*)
                      3: ex - $i << 'EOF'
                      4: /DESCRIPTION/i
                      5: SYNOPSIS
                      6: .
                      7: 0a
                      8: .s3
                      9: .i0
                     10: .in +4
                     11: .ti -4
                     12: XXX
                     13: .
                     14: .,/^\.th/-d
                     15: s/\.th \(.*\) \(.*\) \(.*\)$/\1(\2) \\-/
                     16: +,/NAME/d
                     17: s/^/- /
                     18: s/^.*- //
                     19: -,.join
                     20: +,/SYNOPSIS/c
                     21: .br
                     22: .
                     23: g/SYNOPSIS/d
                     24: 1,/DESCRIPTION/-w! >> ../toc.nr
                     25: q!
                     26: 'EOF'
                     27: end

unix.superglobalmegacorp.com

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