bug-coreutils
[Top][All Lists]
Advanced

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

Re: point to "info coreutils cmd" instead of "info cmd" in manpage


From: Jim Meyering
Subject: Re: point to "info coreutils cmd" instead of "info cmd" in manpage
Date: Mon, 02 Jan 2006 22:32:35 +0100

"Theodoros V. Kalamatianos" <address@hidden> wrote:
> On Sat, 31 Dec 2005, The Wanderer wrote:
>
>> Entering 'info mv' brings up an info interface to the exact same
>> page, including the same suggestion at the bottom. This is probably
>> more a Debian issue than a coreutils one, though.
>
> I think it has to do with whether the directory file (dir) in infodir is
> correctly updated. IIRC info first uses this file to detect any nodes. If
> it cannot find a reference in there it tries infodir/<topic>.info and if
> that fails as well it outputs the manpage on <topic>. It is somewhat
> difficult, though, to keep the directory file updated with full entry
> hierarchies, rather than just the top node.
>
> I believe that the suggested info command should be "info coreutils cmd",

That would be nice, but it fails for e.g., `info coreutils pr'.
That brings you to the `printing text' node.  There were others,
the last time I checked.

An alternative is to use `info coreutils "pr invocation"', which works,
but at some cost to readability and typability.
FYI, if you don't like quotes, you can pare it down to this:
[note the trailing spaces]

  info coreutils pr\ 

or even [but abbreviating `coreutils' is a bad idea]

  info cor pr\ 

or

  info coreutils 'pr '

Ideally, info would be fixed to allow an exact-match,
rather than the current, first-match approach.




reply via email to

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