Re: What use are these (rpm) entries in 'man'?

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

 



Chris G wrote:
> Well, apart from not being very useful, it makes the man page for
> apropos (or man -k) wrong!
> 
> When you do 'man apropos' it says:-
> 
>     NAME
>          apropos, whatis - search the whatis database
> 
>     SYNOPSIS
>          apropos keyword ...
>          whatis keyword ...
> 
>     DESCRIPTION
>          apropos searches a set of database files containing short descriptions of
>          system commands for keywords and displays the result on the standard out-
>          put.  whatis displays only complete word matches.
> 
>          keyword really is an extended regular expression, please read grep(1)
>          manual page for more information about its format.
> 
>     DIAGNOSTICS
>          The apropos utility exits 0 on success, and 1 if no keyword matched.
> 
>     SEE ALSO
>          grep(1), makewhatis(1), man(1)
>  
> 
> Adding the (rpm) entries means that the whatis database is no longer a
> "set of database files containing short descriptions of system
> commands" because the things it puts in there are *not* system
> commands.
> 
It looks like the apropos needs to be updated, because the whatis
database and the output of apropos has not been limited to just
system commands for years.

As far as not being useful, that depends on the user. It may not be
useful to you, but I find it handy when I can't remember the name of
the command I need, and it does not have a man page. I can still use
apropos to find it because of the (rpm) listing. I can also find out
what a command does using whatis, and because it is a (rpm) entry, I
know to try other things besides man to find information on it.
(info, /usr/share/doc/<package>, rpm, etc.)

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux