< up >

manpage fulltext search

man -K <term> got you covered1:

 -K, --global-apropos
        Search for text in all manual pages.  This is a brute-
        force search, and is likely to take some time; if you can,
        you should specify a section to reduce the number of pages
        that need to be searched.  Search terms may be simple
        strings (the default), or regular expressions if the
        --regex option is used.

        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.  Searching
        the rendered text would be much slower.

some useful additions:

some interesting searches via man -P less -K <term>:

  1. as I ran into the problem that I needed a fulltext serarch over man pages, my first thought was to set up an opensearch cluster feeding it with man -a