projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
make both 'q' and 'x' exit the interactive mode
[unix-history]
/
.ref-BSD-3
/
usr
/
ucb
/
makewhatis
rm -f /tmp/whatis
cd /usr/man
for i in man1 man2 man3 man4 man5 man6 man7 man8
do
cd $i
/usr/lib/getNAME *.*
cd ..
done >/tmp/whatis
ed - /tmp/whatis <<\!
g/\\-/s//-/
g/\\\*-/s//-/
g/ VAX-11/s///
1,$s/.TH [^ ]* \([^ ]*\).* \([^-]*\)/\2(\1) /
g/ /s// /g
w /tmp/whatis2
q
!
/usr/ucb/expand -24,28,32,36,40,44,48,52,56,60,64,68,72,76,80,84,88,92,96,100 /tmp/whatis2 | sort >/usr/lib/whatis