On Wed, Nov 27, 2024 at 12:24:25PM -0500, The Wanderer wrote:
> On 2024-11-27 at 11:59, to...@tuxteam.de wrote:
> 
> > On Wed, Nov 27, 2024 at 10:40:44AM -0500, The Wanderer wrote:
> > 
> >> On 2024-11-27 at 09:28, to...@tuxteam.de wrote:
> 
> >>> And yes, it's a pity there is no common frontend for both.
> 
> > [help and man]
> 
> >> There's also 'info foo', which for some values of foo will be more 
> >> helpful than either of the above, for others will provide exactly
> >> the same information through a different interface, and for others
> >> will provide no information at all.
> > 
> > The nice thing about info is that it /actually/ falls back to the
> > man page when no info page is available. So it is a common front-end
> > of sorts for both.
> 
> ...huh. So it does, apparently.
> 
> Even at this point I still live and learn. I always thought it was just
> that a few particular packages had had their man pages blindly converted
> to info format so the packager could ship documentation in both formats.
> 
> To be honest, I think I'd kind of rather that it didn't do that... but
> it's not like it's hard to recognize the converted-from-man-page
> presentation and quit the viewer, when it does happen.

It tells you, though. For example, if I do "info ldd", apart from the
giveaway in the heading, as you observe, the footer page says:

  -----Info: (*manpages*)ldd, 65 lines --Top---

So it ain't cheating, honest ;-)

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature

Reply via email to