🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.sysadmin
Article #2046

help with /usr/lib/makewhatis & sed scripts

#2046
From: Robert Wong
Date: Thu, 31 Dec 1992 08:55
18 lines
1171 bytes
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)
Technical Details
Message-ID: <1hucijINNqj3@iskut.ucs.ubc.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!cs.ubc.ca!unixg.ubc.ca!wrob

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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