I cannot wrap my head around the behaviour of the apropos(1) (aka "whatis") command.
It never quite works well for me (with me being on FreeBSD 14.2-rc2), the man page says it is supposed to search the title of man pages, but it doesn't match them, i.e.:
When searching for "audio" or "editor", it doesn't show up in the list either.
"audacity" is just an example here, as the behaviour doesn't seem to depend on the specific manpage.
What am I doing wrong, any thoughts?
It never quite works well for me (with me being on FreeBSD 14.2-rc2), the man page says it is supposed to search the title of man pages, but it doesn't match them, i.e.:
Code:
$ man -w audacity
/usr/local/share/man/man1/audacity.1.gz
$ man audacity | head -4
audacity(1) FreeBSD General Commands Manual audacity(1)
NAME
audacity - audio editor
$ doas makewhatis
$ apropos audacity
apropos: nothing appropriate
$ doas apropos audacity
apropos: nothing appropriate
When searching for "audio" or "editor", it doesn't show up in the list either.
"audacity" is just an example here, as the behaviour doesn't seem to depend on the specific manpage.
What am I doing wrong, any thoughts?