For example, for the read
man page, I have a single one for read(2)
, two of the same for read(1)
and two of the same for read(n)
. This has led to some performance and timing issues. I believe it has to do with dependency-management by homebrew, but I am not sure. For example, running
$ time man -k ^
makewhatis: /Library/TeX/texbin/man: Not a directory
DeRez(1) - decompiles resources (DEPRECATED)
... tens of lines of output
git-branch(1) - List, create, or delete branches
man -k ^ 0.43s user 1.27s system 37% cpu 4.511 total
which does not seem normal. Anyone else?
manpath
./Library/Frameworks/Python.framework/Versions/3.11/share/man:/usr/local/share/man:/usr/share/man:/Library/TeX/texbin/man:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/share/man:/Library/Developer/CommandLineTools/usr/share/man
. So it seems that the non-directory is on there.man -k ^
searches through all man pages, so it has to open over 3000 text files which will take some time.grep . /usr/share/man/*/*
probably takes a comparable long time.man -k ^
as an "auto-complete" feature when I typeM-x man <RET> 2
(for getting a specific numbered man page), so I gave it advice to turn it off.