Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Strange apropos(1) behavior?
On Fri, 19 Apr 2019, Paul Goyette wrote:
Should it be possible to use both the -l (legacy mode) option and specify a
specific section -[1-9] ?
# apropos -l -8 specific
apropos: no such table: mandb
apropos: No relevant results obtained.
Please make sure that you spelled all the terms correctly or try using
different keywords.
And another anomaly:
# apropos -p specific
apropos: Cannot allocate 140187716927593 bytes: Cannot allocate memory
And while we're at it, the man page for apropos(1) says that the -p
option _defaults_ to using more(1) as the pager, implying that it should
be possible to use a different pager. Yet there is no option to tell
apropos to which other pager the output should be piped!
And finally, the -P option is documented in the apropos(1) man page as
also "Turn on pager formatting". Is this correct? Or should one of
these two options be a "Turn _off_ pager formatting" ? :)
+--------------------+--------------------------+-----------------------+
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost |
+--------------------+--------------------------+-----------------------+
Home |
Main Index |
Thread Index |
Old Index