diff options
author | 2014-08-27 00:06:08 +0000 | |
---|---|---|
committer | 2014-08-27 00:06:08 +0000 | |
commit | 0f10154c1de4bb3cf2edcdcbed96af5c91c0c502 (patch) | |
tree | ea1d54b73ff7ad60c72646adb7a628d8427aa651 /usr.bin/diff/diffreg.c | |
parent | dont base the mru on the mtu. unconditionally make it what the (diff) | |
download | wireguard-openbsd-0f10154c1de4bb3cf2edcdcbed96af5c91c0c502.tar.xz wireguard-openbsd-0f10154c1de4bb3cf2edcdcbed96af5c91c0c502.zip |
Add an implementation of man(1) into the /usr/bin/mandoc binary and
provide a unified set of command line options for mandoc(1), man(1),
apropos(1), and whatis(1), each option doing the same for all four.
Not adding any completely new options, only extending exiting ones
from one tool to the others. New options are:
* apropos & whatis -acfkw (in the past, these were man(1) only)
* apropos & whatis -a -IOTW (in the past, mandoc(1) only)
* mandoc -ac (in the past, man(1) only)
* man -IOTW (in the past, mandoc(1) only)
Before we can decide whether or not we want to replace src/usr.bin/man
with this implementation, considerable bugfixing, testing, and
performance measurements are needed, which i'd rather do in the tree
than outside. Note that these bugs only affect the new man(1) mode,
existing mandoc(1), apropos(1), and whatis(1) is fine.
The new functionality in mandoc(1), apropos(1), and whatis(1)
is fully enabled. To play with the new man(1), you can try:
# mv /usr/bin/man /usr/bin/oman
# ln -s /usr/bin/mandoc /usr/bin/man
Positive feedback about the general direction from sthen@ and jmc@,
and deraadt@ is not against it.
Diffstat (limited to 'usr.bin/diff/diffreg.c')
0 files changed, 0 insertions, 0 deletions