This commit is contained in:
uriel 2009-09-23 12:28:20 +02:00
commit bf723398c5

View File

@ -68,7 +68,7 @@ fn wman_get_section_desc {
fn wman_page_gen {
#troff -manhtml $1| troff2html -t 'Plan 9 from User Space'
nroff -man $1 \
troff -N -man $1 \
| escape_html \
| sed 's!([\.\-a-zA-Z0-9]+)\(('^`{echo $wman_cat_list|tr ' ' '|'}^')\)!<a href="../\2/\1">&</a>!g' \
| awk '/^$/ {if(n != 1) print; n=1; next} /./ {n=0; print}'