bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils man pages "info sort" -> "info coreutils sort"


From: ThMO
Subject: Re: coreutils man pages "info sort" -> "info coreutils sort"
Date: Thu, 29 Sep 2005 20:27:09 +0200

Hello Jim, Paul and others listening,

> [...]
> > Jim, what do you think?
> 
> We've been around the block a few times with Debian,
> trying to do just that, but there's at least one problem:
> 
>   `info coreutils pr' would display the `printing text'
>   section of the manual, not the one on `pr invocation'.
> 
> See the ChangeLog for man/Makefile.am for more details.
> 
> However, if we can fix `info' to do the right thing,
> then I'd be happy to change it.

aah, now I see the "problem" - I guess it would be difficult for info
to sort out, what the user meant, so info looks for an exact match, and
if none is found looks for the *1st* menu entry, which starts with the
given prefix - as the menu entry ``printing text'' comes long before
``pr invocation'' info selects the first match.

There are several ways to come up with this:

· info coreutils 'pr '
  the blank is important here, so info selects the wanted menu item

· resorting the menu items, so ``pr invocation'' comes before ``printing text''

· hacking an ugly shell-wrapper  :)

THX for listening.

CU Tom.
(Thomas M.Ott)
Germany




reply via email to

[Prev in Thread] Current Thread [Next in Thread]