From: H. Peter Anvin Date: Thu, 21 Aug 2008 20:14:41 GMT Subject: Re: Suggestion: "man git clone" Message-ID: <48ADCCB1.6040803@zytor.com> In-Reply-To: <20080821201307.GC27705@coredump.intra.peff.net> Jeff King wrote: > On Thu, Aug 21, 2008 at 01:38:42PM -0400, Jeff King wrote: > >> There is some configuration magic about what is a section. Try >> >> perl -pi -e 's/^SECTION.*/$& git/' /etc/manpath.config >> >> That seems to convince my man to look in .../mangit, but I'm having >> trouble actually getting it to find a page and I don't have time to >> investigate further now. > > Ah, OK. My problem was that the pages actually need to be named "am.git", > etc. But with 'git' in the section field, "man git am" does work. > Unfortunately, it seems to break "man git". :( > > -Peff Yeah, that pretty much makes it not a general solution. -hpa