Blob
1 #!/usr/local/plan9/bin/rc3 . 9.rc5 # creates the index used by lookman6 >lookman.index7 for(i in $PLAN9/man/man[0-9]*/[a-z0-9:]*.[0-9]*){8 deroff -w_ < $i |9 tr 'A-Z' 'a-z' |10 sort -u |11 comm -23 - junkwords |12 sed 's@$@ '$i'@' >>lookman.index # stick file name on end of line13 }14 sort -o lookman.index lookman.index