diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-01-05 03:06:43 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-01-05 03:06:43 +0000 |
commit | 309ba0ab0e453acde16dc583e036874dbeb4a2a4 (patch) | |
tree | 0067eec7fed86caa37a21ad837513356c1ac5d68 /Makefile | |
parent | 54a35af24eafe969f6b7acd3eb923ffa75bfb0ab (diff) | |
download | mandoc-309ba0ab0e453acde16dc583e036874dbeb4a2a4.tar.gz |
Reimplement apropos -s NUM -S ARCH EXPR by internally converting it to
apropos \( EXPR \) -a 'sec~^NUM$' -a 'arch~^(ARCH|any)$'
in preparation for removal of sec and arch from the mpage table.
Almost no functional change except for the following bonus:
This also makes sure that for cross-section and cross-arch MLINKs,
all of the following work:
apropos -s 1 encrypt
apropos -s 8 encrypt
apropos -s 1 makekey
apropos -s 8 makekey
While here, print error messages about invalid regexps to stderr.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions