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

[SOLVED] "man -k" and "(rpm)"



  since it piqued my curiosity, i decided to ask on the rpm list about
what means:

$ man -k yelp
yelp                (rpm) - A system documentation reader from the Gnome project
                    ^^^^^??

apparently, all it means is that that information is being pulled out
of the "whatis" database, and is effectively the same as what you'd
get from grepping the file /var/cache/man whatis.

quite simply, package names and one-line summaries have been added to
the whatis database for quite some time now in response to this
enhancement request:

  https://bugzilla.redhat.com/show_bug.cgi?id=175595

so that's while you'll see normal man output for, say, "strace"
thusly:

  $ man strace
  STRACE(1) ... blah blah ...

but you'll also see:

  $ man -k strace
  autrace              (8)  - a program similar to strace
  strace               (1)  - trace system calls and signals
  strace              (rpm) - Tracks and displays system calls associated with a running process

it's also why, even when a command like "yelp" has no actual man page,
you're still likely to see that single-line, package-related "(rpm)"
entry for it.

huh.  learn something every day.

rday
-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://crashcourse.ca
========================================================================


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