aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man.cgi.8
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-09-14 19:44:28 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-09-14 19:44:28 +0000
commitc99d0805237ab16252befd6defffabebde81d74b (patch)
tree77429737b5e960b5729c27a1f0d64020204c8dd9 /man.cgi.8
parent2a37145b398147deef315887314495f6a9b9637e (diff)
downloadmandoc-c99d0805237ab16252befd6defffabebde81d74b.tar.gz
mandoc-c99d0805237ab16252befd6defffabebde81d74b.tar.zst
mandoc-c99d0805237ab16252befd6defffabebde81d74b.zip
Support backslash-escaping of white space in the query expression,
to be more similar to apropos(1) called from the shell. Missing feature reported by Marcus MERIGHI <mcmer dash openbsd at tor dot at> on misc@.
Diffstat (limited to 'man.cgi.8')
-rw-r--r--man.cgi.810
1 files changed, 8 insertions, 2 deletions
diff --git a/man.cgi.8 b/man.cgi.8
index d50f3fad..4d3588b0 100644
--- a/man.cgi.8
+++ b/man.cgi.8
@@ -1,4 +1,4 @@
-.\" $Id: man.cgi.8,v 1.10 2014/08/22 15:49:50 schwarze Exp $
+.\" $Id: man.cgi.8,v 1.11 2014/09/14 19:44:28 schwarze Exp $
.\"
.\" Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: August 22 2014 $
+.Dd $Mdocdate: September 14 2014 $
.Dt MAN.CGI 8
.Os
.Sh NAME
@@ -43,6 +43,12 @@ either a name of a manual page or an
using the syntax described in the
.Xr apropos 1
manual; filling this in is required for each search.
+.Pp
+The expression is broken into words at whitespace.
+Whitespace characters and backslashes can be escaped
+by prepending a backslash.
+The effect of prepending a backslash to another character is undefined;
+in the current implementation, it has no effect.
.It
A
.Dq Submit