aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man_validate.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
commitbdcc37124aeee4069ccfb383b235e3f0efebdd5f (patch)
treeb878003c4c8652140f9fb7e977a2c00af16e0587 /man_validate.c
parent42e809e6f89c835d55a7d3f2046e28b6a227122a (diff)
downloadmandoc-bdcc37124aeee4069ccfb383b235e3f0efebdd5f.tar.gz
mandoc-bdcc37124aeee4069ccfb383b235e3f0efebdd5f.tar.zst
mandoc-bdcc37124aeee4069ccfb383b235e3f0efebdd5f.zip
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 'man_validate.c')
0 files changed, 0 insertions, 0 deletions