summaryrefslogtreecommitdiffstats
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
commit129974c1f48bebaa4ccb4dc966694304e17bfb6f (patch)
tree22bb83ae72defb386c78542a9a87b4832bc4e896 /man.cgi.8
parent8275a8e52fbf7fc40a4ad55c8d4ad9efe8f67058 (diff)
downloadmandoc-129974c1f48bebaa4ccb4dc966694304e17bfb6f.tar.gz
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.86
1 files changed, 6 insertions, 0 deletions
diff --git a/man.cgi.8 b/man.cgi.8
index 920330fd..39774070 100644
--- a/man.cgi.8
+++ b/man.cgi.8
@@ -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