home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / next / sysadmin / 7253 < prev    next >
Encoding:
Internet Message Format  |  1992-12-31  |  1.1 KB

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