summaryrefslogtreecommitdiffstats
path: root/msec.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-01-05 03:06:43 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-01-05 03:06:43 +0000
commit309ba0ab0e453acde16dc583e036874dbeb4a2a4 (patch)
tree0067eec7fed86caa37a21ad837513356c1ac5d68 /msec.c
parent54a35af24eafe969f6b7acd3eb923ffa75bfb0ab (diff)
downloadmandoc-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 'msec.c')
0 files changed, 0 insertions, 0 deletions