diff options
author | 2014-01-05 03:06:43 +0000 | |
---|---|---|
committer | 2014-01-05 03:06:43 +0000 | |
commit | bdcc37124aeee4069ccfb383b235e3f0efebdd5f (patch) | |
tree | b878003c4c8652140f9fb7e977a2c00af16e0587 /regress/roff/ig | |
parent | 42e809e6f89c835d55a7d3f2046e28b6a227122a (diff) | |
download | mandoc-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 'regress/roff/ig')
0 files changed, 0 insertions, 0 deletions