From sa@simon.org.ua  Wed Oct 31 23:55:16 2001
Return-Path: <sa@simon.org.ua>
Received: from lion.com.ua (lion.com.ua [213.133.161.130])
	by hub.freebsd.org (Postfix) with ESMTP id 01B3D37B405
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 31 Oct 2001 23:55:11 -0800 (PST)
Received: from localhost (localhost [127.0.0.1])
	by lion.com.ua (8.11.6/8.11.6) with ESMTP id fA17t7u27457
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 1 Nov 2001 09:55:08 +0200 (EET)
	(envelope-from sa@simon.org.ua)
Message-Id: <20011101095226.L27435-100000@lion.com.ua>
Date: Thu, 1 Nov 2001 09:55:07 +0200 (EET)
From: Andrey Simonenko <simon@simon.org.ua>
To: FreeBSD-gnats-submit@freebsd.org
Subject: apropos(1) manual page doesn't tell that keyword can be regular
 expression

>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:    wosch
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 01 00:00:01 PST 2001
>Closed-Date:    Sat Mar 9 12:00:34 PST 2002
>Last-Modified:  Sat Mar 09 12:01:16 PST 2002
>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:
Responsible-Changed-From-To: freebsd-bugs->wosch 
Responsible-Changed-By: ashp 
Responsible-Changed-When: Mon Feb 11 11:35:08 PST 2002 
Responsible-Changed-Why:  
Reassigning this based on a recommendation from Ruslan. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=31685 
State-Changed-From-To: open->closed 
State-Changed-By: wosch 
State-Changed-When: Sat Mar 9 12:00:34 PST 2002 
State-Changed-Why:  
Fixed in src/gnu/usr.bin/man/apropos/apropos.man rev 1.9 
Thanks! 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=31685 
>Unformatted:
