Yet another version of wman, templatized, and now Unix man pages use the same path style as Plan 9/Inferno.

This commit is contained in:
Uriel 2009-03-10 01:16:13 +00:00
parent d12a6910c0
commit 8488a0b651
4 changed files with 62 additions and 38 deletions

12
apps/wman/man_page.tpl Normal file
View file

@ -0,0 +1,12 @@
<pre>
%{
# Hack to handle 0intro files.
f=$wman_page^$"wman_pe
if(~ $wman_page intro && test -f $wman_cat_path^/0^$f)
f=0^$f
wman_page_gen $wman_cat_path^/^$f
%}
</pre>