On 12/09/25 at 16:04, Greg Wooledge wrote:
On Fri, Sep 12, 2025 at 15:54:49 +0200, Franco Martelli wrote:
~# LC_ALL=C.UTF-8 man -K list-timers
No manual entry for list-timers
Why does the search give no results?
I think I have trouble with manpages search. Any clue?
Here's what man(1) says about the -K option:
-K, --global-apropos
[...]
Note that this searches the sources of the manual pages, not the
rendered text, and so may include false positives due to things
like comments in source files, or false negatives due to things
like hyphens being written as "\-" in source files.
hobbit:~$ zgrep 'list.*timers' /usr/share/man/man1/systemctl.1.gz
\fBlist\-timers\fR [\fIPATTERN\fR\&...]
\fBlist\-timers\fR\&.
sadly I have installed a localized version of man-pages where the "-K"
option is not translated (missing). Using:
$ LC_ALL=C.UTF-8 man 1 man
gives me the proper man-page with the "-K" option explained, sorry for
the noise.
Kind regards.
--
Franco Martelli