Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Indexing and searching non-numeric sections with apropos(1)



On Thu, 14 Apr 2016, Abhinav Upadhyay wrote:

On Thu, Apr 14, 2016 at 3:20 AM, Paul Goyette <paul%whooppee.com@localhost> wrote:
With bin/51062, makemandb(8) can index non-numeric sections and also
apropos(1) can now accept non-numeric sections for querying. That
means you do queries like

apropos -s 9lua systm
apropos -s n foo bar

To be able to use this feature, you need to regenerate the database.
You can do this by running makemandb -f manually.



I rebuilt my database.  Although apropos(1) now finds the information for
the non-numeric sections, it is still reporting them wrongly:

   #  apropos -s 9lua lua
   intro (9)       introduction to the Lua kernel bindings
   This section provides an overview of the Lua kernel bindings, ...

Note that the output says "intro (9)" - shouldn't it say "intro (9lua)"?


Sorry, I forgot to mention that you also need to rebuild makemandb and apropos.
After that, rebuilding the database should give the correct output.

Ah, OK.  I will check that soon.



+------------------+--------------------------+------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+


Home | Main Index | Thread Index | Old Index