shithub: werc

Download patch

ref: 0a8fbd370f336cbac7807d863bf7f7d566b44cd2
parent: 332789497d373cf82d10120ffa6f0171cf0c23c4
author: uriel <[email protected]>
date: Tue Aug 25 20:48:38 EDT 2009

Replace nroff reference with troff -N, thanks garbeam!

--- a/apps/wman/app.rc
+++ b/apps/wman/app.rc
@@ -68,7 +68,7 @@
 
 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}'