Control: tag -1 fixed-upstream

On Thu, Feb 04, 2016 at 08:08:53AM +0100, B. Ruva wrote:
> man -K searches the nroff source, not the formatted manpages. Because
> of that "man -K california" gives a lot of hits (for commands like
> more, rev, whereis, ...) whose manpages don't contain the string
> "california" (it is contained in comments in the nroff source). This
> problematic behavior is not described in man(1).

Thanks for your report.  I'm afraid that this is necessary for
reasonable performance (searching the raw text of all pages on the
system can be made pretty quick; formatting all pages rather less so),
but you're correct that it ought to be documented.  I've pushed a
documentation fix for the next release:

  
http://git.savannah.gnu.org/cgit/man-db.git/commit/?id=21958e4509f6523250e3bad0ef1bc4097fdcf201

-- 
Colin Watson                                       [[email protected]]

Reply via email to