[26688] in Athena Bugs
Re: sun4 9.4.18: man
daemon@ATHENA.MIT.EDU (Robert Basch)
Thu Nov 17 16:48:56 2005
In-Reply-To: <200511152202.jAFM2pHW026890@contents-vnder-pressvre.mit.edu>
Mime-Version: 1.0 (Apple Message framework v746.2)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <DE64C266-C540-421C-9666-909AC386CBC2@mit.edu>
Content-Transfer-Encoding: 7bit
From: Robert Basch <rbasch@mit.edu>
Date: Thu, 17 Nov 2005 16:48:16 -0500
To: Ken T Takusagawa <kenta@mit.edu>
X-Spam-Score: 1.217
X-Spam-Level: * (1.217)
X-Spam-Flag: NO
cc: bugs@mit.edu
Errors-To: bugs-bounces@mit.edu
On Nov 15, 2005, at 5:02 PM, Ken T Takusagawa wrote:
> What were you trying to do?
> man sort
>
> What's wrong:
> I only get sort(3).
>
> What should have happened:
> I want the manpage for the command, i.e., sort(1)
Hi.
Thanks for your bug report. Unfortunately, the Solaris man
command is working as intended here; the sort(3) page is shown
because it is in /usr/athena/man, which is before /usr/man
(containing the sort(1) page) in $MANPATH. (On Linux, by
contrast, a section 1 page has precedence over a section 3
page, so you get the desired result).
You can use "man -l sort" to list all matching pages, "man -a sort"
to show all such pages, and "man -s 1 sort" to show only the
page in manual section 1.
Bob