From c99d0805237ab16252befd6defffabebde81d74b Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 14 Sep 2014 19:44:28 +0000 Subject: 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 on misc@. --- man.cgi.8 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'man.cgi.8') 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 .\" @@ -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 -- cgit v1.2.3-56-ge451