home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!destroyer!cs.ubc.ca!unixg.ubc.ca!wrob
- From: wrob@unixg.ubc.ca (Robert Wong)
- Newsgroups: comp.sys.next.sysadmin
- Subject: help with /usr/lib/makewhatis & sed scripts
- Date: 31 Dec 1992 08:55:47 GMT
- Organization: University of British Columbia, Vancouver, B.C., Canada
- Lines: 18
- Message-ID: <1hucijINNqj3@iskut.ucs.ubc.ca>
- NNTP-Posting-Host: unixg.ubc.ca
-
- Hi folks. I did a /etc/catman recently to reformat all my man pages. Since
- all the man pages were put into the cat* directories, I deleted all my man*
- directories.
-
- I just realized that my whatis database (used for man -k keyword) searches
- is out of whack. To redo my whatis database, I run the shell script
- /usr/lib/makewhatis.
-
- Problem. The shell script uses sed scripts to both access the man* dirs and
- recreate the whatis database. I don't have these anymore.
-
- Could some kind soul please post a new makewhatis shell script that
- has the sed script accessing the cat* dirs and actually makes a new whatis
- database from the cat* dirs?
- RWW.
- --
- Robert W. "What!?! I've-been-tying-my-shoelaces-backwards-all-my-life?" Wong Jr.
- wrob@unixg.ubc.ca (ASCII only)
-