Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!swidir.switch.ch!scsing.switch.ch!xlink.net!rz.uni-karlsruhe.de!ipfy!vhansen From: vhansen@ipfy.bau-verm.uni-karlsruhe.de (Wolfgang von Hansen) Newsgroups: comp.unix.bsd Subject: How to make whatis.db Date: 2 Oct 1994 14:54:30 GMT Organization: IPF, University of Karlsruhe Lines: 14 Message-ID: <36mhj6$bnu@nz12.rz.uni-karlsruhe.de> NNTP-Posting-Host: ipfy.bau-verm.uni-karlsruhe.de Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hello! I know that this is a beginners question... How do I remake the whatis.db for the man pages? There's a makewhatis.sed available but I don't know how to start it correctly. Though the script is very short it's also cryptic :-( Wolfgang -- vhansen@ipf.bau-verm.uni-karlsruhe.de | Gurus use `cat >a.out' instead of gcc float o=0.075,h=1.5,T,r,O,l,I;int _,L=80,s=3200;main(){for(;s%L|| (h-=o,T= -2),s;4 -(r=O*O)<(l=I*I)|++ _==L&&putchar(*((--s%L?_<L?--_ %6:6:7)+"World! \n"))&&(O=I=l=_=r=0,T+=o /2))O=I*2*O+h,I=l+T-r;}