[4132] in testers
Re: man on 8.3.3
daemon@ATHENA.MIT.EDU (Dan Winship)
Wed May 26 11:17:42 1999
Message-Id: <199905261517.PAA20765@antharia.mit.edu>
To: Joseph Sokol-Margolis <seph@MIT.EDU>
Cc: testers@MIT.EDU
In-Reply-To: Your message of "Wed, 26 May 1999 02:09:21 EDT."
<199905260609.CAA74414@smoke-screen.mit.edu>
Date: Wed, 26 May 1999 11:17:31 -0400
From: Dan Winship <danw@MIT.EDU>
> 2:02 smoke-screen[0]:~% man -w attach.conf
> /usr/athena/man/cat5/attach.conf.5
> /usr/athena/man/man5/attach.conf.5
>
> this causes it to display the man page twice. it's rather annoying.
> the attach man page has the same problem, also man attach should not
> return the attach.conf man page. yet it does.
The Irix man man page notes:
man may produce some extra matches if man page names have a period (.) in
them, as it matches up to a period, assuming the rest is a suffix.
under the "CAVEATS" (read: "BUGS") section. So this is already a known
bug, so there's not much we can do about it (other than perhaps
teaching SGI about the "strrchr" function).
Oh, and you're wrong about part of that: the attach man page does not
have the same problem; "man -w" will list both cat and man for any
page that has both of them, but "man" will only display one of them.
-- Dan