ref: 1649c2e9460cfa7db24ed381e25c7a3f5334b3aa
parent: e2baa1e0044209a1a2a7b27a32f3edfba9227d78
author: Uriel <u@berlinblue.org>
date: Mon Dec 7 00:38:42 EST 2009
Set some reasonable titles for man pages.
--- a/apps/wman/app.rc
+++ b/apps/wman/app.rc
@@ -29,6 +29,8 @@
if(~ $wman_page intro && test -f $wman_cat_path^/0^$"wman_page_file)
wman_page_file=0^$"wman_page_file
wman_page_file=$wman_cat_path^/^$"wman_page_file
+ x=`{echo $"req_path|sed 's%.*/([^/]+)/'$"wman_cat'/'^$"wman_page^'%\1%; s%_% %g'}+ pageTitle=$wman_page' page from Section '$wman_cat' of the '^$"x' manual'
}
}
--
⑨