Add mkfile to keep indices up to date.
Remove man pages for things we don't provide.
This commit is contained in:
parent
058b0118a5
commit
a19c44b83b
18 changed files with 45 additions and 2321 deletions
37
man/secindex
Executable file
37
man/secindex
Executable file
|
|
@ -0,0 +1,37 @@
|
|||
#!/usr/local/plan9/bin/rc
|
||||
builtin cd $1
|
||||
for (i in [a-z0-9:]*) {
|
||||
b=`{echo $i | sed 's/\..*//'}
|
||||
9sed -n '
|
||||
/SH *NAM/,/SH/{
|
||||
/SH/d
|
||||
s/, *$//
|
||||
ty
|
||||
:y
|
||||
s/ *\\*-.*//
|
||||
tx
|
||||
s/ *\\\(mi.*//
|
||||
tx
|
||||
s/, */\
|
||||
/g
|
||||
s/\n\\n/\
|
||||
/g
|
||||
s/$/ '$i'/g
|
||||
p
|
||||
}
|
||||
/SH *DES/q
|
||||
d
|
||||
:x
|
||||
s/ *\\*-.*//
|
||||
s/ *\\\(mi.*//
|
||||
/^$/d
|
||||
s/, */\
|
||||
/g
|
||||
s/\n\n/\
|
||||
/g
|
||||
s/$/ '$i'/g
|
||||
p
|
||||
q
|
||||
' $i
|
||||
echo $b $i
|
||||
} |sort -u
|
||||
Loading…
Add table
Add a link
Reference in a new issue