Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Nov 2001 09:55:07 +0200 (EET)
From:      Andrey Simonenko <simon@simon.org.ua>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   gnu/31685: apropos(1) manual page doesn't tell that keyword can be regular expression
Message-ID:  <20011101095226.L27435-100000@lion.com.ua>

next in thread | raw e-mail | index | archive | help

>Number:         31685
>Category:       gnu
>Synopsis:       apropos(1) manual page doesn't tell that keyword can be regular expression
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 01 00:00:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Andrey Simonenko
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
>Environment:
	FreeBSD 4.4-STABLE i386

>Description:
	apropos(1) (and whatis(1)) manual page doesn't tell that a keyword can
	be a regular expression.

	apropos(1) uses grep(1), that's why it is possible to run something
	like this:

	$ apropos .			/* list of all manual pages */
	$ apropos '^[^(]*([18])'	/* list of available commands */

	However this is not docummented.

>How-To-Repeat:
>Fix:

--- /usr/src/gnu/usr.bin/man/apropos/apropos.man	Mon Jan 22 13:03:29 2001
+++ apropos.man	Wed Oct 31 02:32:02 2001
@@ -32,6 +32,10 @@
 standard output.
 .Nm whatis
 displays only complete word matches.
+.Pp
+.Ar keyword
+really is a regular expression, read grep(1) manual page for more information
+about its format.
 .Sh RETURN VALUES
 The
 .Nm

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011101095226.L27435-100000>