Re: how aliases for man pages are supported? [OT?]

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

 



On Tue, 26 Mar 2019, Todd Zullinger wrote:

> Robert P. J. Day wrote:
> > however, i recently installed the package "containers-common", which
> > installed (among other things) the single man page file under
> > /usr/share/man/man5:
> >
> >   /usr/share/man/man5/containers-storage.conf.5.gz
> >
> > with that installed, both of the following commands work fine and
> > generate the same output:
> >
> >   $ man 5 containers-storage.conf
> >   $ man 5 storage.conf
> >
> > but i see no "shortcut" file in that directory to support the second
> > form, so i'm assuming there is some other mechanism by which this can
> > be done, i just don't know what it is. thoughts?
>
> AFAIK, man finds 'storage.conf' because it is the title of
> the man page.  So it's not actually an alias.
>
> $ zcat /usr/share/man/man5/containers-storage.conf.5.gz | head -n1
> .TH "storage.conf" "5" " Container Storage Configuration File" "Dan
> Walsh" "May 2017"

  i saw that as the included title and actually thought, "could it
just be picking up the title in the page itself?" and i thought, "nah,
it must be something more elegant." so that's it? huh.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                  http://crashcourse.ca/dokuwiki

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux