[Top][All Lists]

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

Re: [bug #38168] support --all

From: Karl Berry
Subject: Re: [bug #38168] support --all
Date: Sat, 17 Aug 2013 00:05:17 GMT

    Implemented in revision 5255.  [--all] works both with -w and without it.

Sergey - I was a bit surprised at the results I got in practice, so I
thought I'd write it down.  I'm not sure it's necessary to change
anything, but it might be desirable.  Although it's additional work.

The original request
was about replicating in Info the functionality of man -wa, which shows
all the man pages (along MANPATH or whatever), as in:

$ man -aw automake

That is, I have the "system" version of automake in /usr as usual, and I
installed my own automake from the original source in /usr/local/gnu.

Now, with info, the results are not as helpful:
$ info -aw automake

>From the --debug output, it seems that this happens because there are
numerous dir files on the system (as is usual), most of which have an
entry for automake like:
* Automake: (automake).         Making GNU standards-compliant Makefiles.

But since there is no explicit path in these dir entries (as is also
usual), they all resolve to the first automake.info found.  Hence the
repetition.  (I am not sure why there is only one *manpages* entry; in
other tests on my system, e.g., info -aw as, I get multiple *manpages*
results too.)

I think the output actually desired is something more like this:

I guess that would mean checking for the manual's file in the same
directory as the dir file, unlike Info's usual algorithm.



reply via email to

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