shut up
This commit is contained in:
parent
95d4663867
commit
b1a5ffdee0
6
dist/manweb
vendored
6
dist/manweb
vendored
@ -1,5 +1,9 @@
|
|||||||
#!/usr/local/plan9/bin/rc
|
#!/usr/local/plan9/bin/rc
|
||||||
|
|
||||||
|
verbose=no
|
||||||
|
if(~ $1 -v)
|
||||||
|
verbose=yes
|
||||||
|
|
||||||
path=($PLAN9/bin $path)
|
path=($PLAN9/bin $path)
|
||||||
cd $PLAN9/man
|
cd $PLAN9/man
|
||||||
# rm -f */*.html
|
# rm -f */*.html
|
||||||
@ -53,7 +57,7 @@ for (i in */[~.]*.[0-9]*){
|
|||||||
d=`{basename -d $j}
|
d=`{basename -d $j}
|
||||||
if(~ $p 0intro)
|
if(~ $p 0intro)
|
||||||
p=intro
|
p=intro
|
||||||
echo $d/$p
|
if(~ $verbose yes) echo $d/$p
|
||||||
troff -manhtml $i | troff2html -t 'Plan 9 from User Space'>/tmp/manweb.html
|
troff -manhtml $i | troff2html -t 'Plan 9 from User Space'>/tmp/manweb.html
|
||||||
{
|
{
|
||||||
sed '/<!-- TRAILER -->/q' /tmp/manweb.html
|
sed '/<!-- TRAILER -->/q' /tmp/manweb.html
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user