Hi Brendan,

Brendan Shanks wrote on Mon, Jan 04, 2016 at 04:16:14PM -0800:

> Starting with OpenBSD 5.0, formatted man pages (/usr/share/man/catX)
> were no longer installed (as mentioned at
> http://permalink.gmane.org/gmane.os.openbsd.misc/189931).
> However, the upgrade instructions never said to remove them, and the
> default man.conf still searches the cat directories.
> 
> My (i386) system started with 4.9 initially, and I have updated through
> every release up to 5.8. My system still has these out-of-date formatted
> pages installed, including pages that have long been deleted:
> 
> $ man -w ccdconfig rtsol
> /usr/share/man/cat8/ccdconfig.0
> /usr/share/man/cat8/rtsol.0
> 
> Did I miss a step in the upgrade instructions where these were removed?

No.  The upgrade instructions are carefully prepared to remind you to
delete stuff that is likely to get in the way.  Sometimes, they also
suggest to delete stuff that becomes useless even it it isn't harmful.
But there is no effort to make an upgraded system identical to a freshly
installed one.  So harmless stuff is often left behind.

> Is there any reason not to just 'rm -rf /usr/share/man/cat*'

No, deleting them seems reasonable to me.  I did that on my
systems long ago.

> And also 'rm -rf /usr/share/man/ps*', those directories are all
> empty for me.

Nothing wrong with that, either.  Populating these directories
was always optional and is no longer supported.  If you want to
read a manual in PostScript format, you can simply say

  $ man -Tps ls | gv -

nowadays.

Yours,
  Ingo

Reply via email to