4 echo '<TITLE>plan 9 man section '$1'</TITLE>'
7 echo '<B>[<A HREF="/sys/man/index.html">manual index</A>]</B>'
8 echo -n '<H2>Plan 9 from Bell Labs - Section '$1' - '
13 echo -n System and Library Calls
19 echo -n Plan 9 File Protocol, 9P
21 echo -n File Formats, Misc
25 echo -n System Administration
30 for (i in [a-z0-9:]*) {
32 case 1/ap 1/aviation 1/distill 1/dup 1/games 1/lml 1/noweb 1/pac
33 case 2/button 2/fmenu 2/ftree
35 case 7/audio 7/chdb 7/music 7/road
38 echo '<DT><A HREF="/magic/man2html/'$1/$i'">'$i'</A>'
40 BEGIN { syms = ""; indesc = 0; desc = ""; }
41 /.SH *NAME/,/.SH *(DES|SYN)/ {
50 } else if($i ~ /^\\?-.*/) {
58 END { print "- " desc; print "<DD><TT>" syms "</TT>"}