From owner-freebsd-current Sun May 19 23:51:36 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA28736 for current-outgoing; Sun, 19 May 1996 23:51:36 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id XAA28725 for ; Sun, 19 May 1996 23:51:30 -0700 (PDT) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id IAA11027 for ; Mon, 20 May 1996 08:51:25 +0200 Received: by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id IAA01502 for freebsd-current@FreeBSD.org; Mon, 20 May 1996 08:51:25 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id IAA04667 for freebsd-current@FreeBSD.org; Mon, 20 May 1996 08:41:57 +0200 (MET DST) From: J Wunsch Message-Id: <199605200641.IAA04667@uriah.heep.sax.de> Subject: Re: catman To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Mon, 20 May 1996 08:41:57 +0200 (MET DST) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: from "Chris J. Layne" at "May 19, 96 06:01:27 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk As Chris J. Layne wrote: > > The default for the man pages sources _is_ to keep them gzipped (and > > yes, man/catman/makewhatis do know how to handle this). If you don't > > like man page sources around, a simple > > That wasn't what I was referring to, I was referring to the difference > between catman's preformatted ASCII pages vs the normal unformatted. Me too. :) ``unformatted man pages'' == ``man page sources''. > > rm -rf /usr/share/man/man* > > This of course only is useful after you have catman'd all the pages, and > it should be 'rm `find /usr/share/man|grep -v whatis`'. The downside to This will remove any man page except that for ``makewhatis'', and the whatis database itself. :-/ You could have written it shorter, btw.: rm `find /usr/share/man ! -name '*whatis*' -print` (No need for grep here. The -print is optional, but _only_ for BSD.) > > will do (as opposed to any black magic in catman(1)), as well as > > disabling makewhatis (so the existing makewhatis databases won't be > > clobbered). > > When you add more manpages you need to update the whatis databases, this > update process will most likely clobber the old database because you > already nuked the old unformatted man files. You can teach makewhatis to only add records, instead of clobbering the entire database. I don't believe it's worth the while. (Read this: i think there are more important projects waiting in the queue.) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)