Thread (28 messages) flat view 28 messages, 12 authors, 2016-06-15

Re: Suggestion: "man git clone"

From: Jeff King <hidden>
Date: 2016-06-15 22:45:12

On Thu, Aug 21, 2008 at 08:07:56PM -0400, Federico Lucifredi wrote:
I am all for bass-ackwards compatibility, and I think the suggestion of  
going on "man foo bar" :

 1) look for foo-bar; if success, terminate search
 2) look for foo
 3) look for bar
 ....

may be acceptable - I don't see drawbacks at a first glance, and it would 
allow for groups of pages to be meaningful.
Well, the drawback is that there exist X-Y such that X and Y both have
manpages (e.g., cvs-debc on my debian box). So we are assuming that the
risk is acceptably low of somebody asking for "man X Y", wanting two
manpages, and that X and Y fit this pattern.

Personally I have never ever wanted to see two manpages from one man
invocation, so I have no real problem with that assumption.
Are you willing to put your patch where your mouth is? :-)
I've never looked at man code before, but there seem to be at least two
man packages for Linux. My boxes have man-db 2.5.2.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help