From riccardo@torrini.org  Fri Nov 11 16:17:59 2005
Return-Path: <riccardo@torrini.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A055616A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 11 Nov 2005 16:17:59 +0000 (GMT)
	(envelope-from riccardo@torrini.org)
Received: from mx.dada.it (mail2.dada.it [195.110.100.2])
	by mx1.FreeBSD.org (Postfix) with SMTP id 15B1043D53
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 11 Nov 2005 16:17:56 +0000 (GMT)
	(envelope-from riccardo@torrini.org)
Received: (qmail 13190 invoked from network); 11 Nov 2005 16:17:52 -0000
Received: from unknown (HELO silos.torrini.home) (195.110.114.101)
  by mail.dada.it with SMTP; 11 Nov 2005 16:17:52 -0000
Received: from silos.torrini.home (localhost [127.0.0.1])
	by silos.torrini.home (Postfix) with ESMTP id 2B9841A774
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 11 Nov 2005 17:17:54 +0100 (CET)
Received: by silos.torrini.home (Postfix, from userid 1001)
	id 538B31A744; Fri, 11 Nov 2005 17:17:53 +0100 (CET)
Message-Id: <20051111161753.538B31A744@silos.torrini.home>
Date: Fri, 11 Nov 2005 17:17:53 +0100 (CET)
From: Riccardo Torrini <riccardo@torrini.org>
Reply-To: Riccardo Torrini <riccardo@torrini.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: grep manual jammed
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         88848
>Category:       docs
>Synopsis:       grep manual jammed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    remko
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 11 16:20:18 GMT 2005
>Closed-Date:    Mon Dec 26 19:03:49 GMT 2005
>Last-Modified:  Mon Dec 26 19:03:49 GMT 2005
>Originator:     Riccardo Torrini
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD silos.torrini.home 5.4-STABLE FreeBSD 5.4-STABLE #65: Mon Oct 24 06:50:23 CEST 2005 root@silos.torrini.home:/usr/obj/usr/src/sys/SILOS i386

It also happens on 7.0-CURRENT but not on 4.11-STABLE (Aug 31, 2005)

	
>Description:
	Two entries of {any}grep manual jammed together (-F and -P).

>How-To-Repeat:
# man grep | col -b | grep -A3 fixed-strings
-F, --fixed-strings
	Interpret  PATTERN as a list of fixed strings, separated by new-
	lines, any of which is to be matched.  -P, --perl-regexp  Inter-
	pret PATTERN as a Perl regular expression.

>Fix:

Split -F and -P entries.

# zgrep -n '.BR \\-P ", " \\-\\^\\-perl-regexp' /usr/share/man/man1/grep.1.gz 
204:.BR \-P ", " \-\^\-perl-regexp

Maybe .BR should be .BI ?  (sorry, I'm not a nroff master  :-)

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->remko 
Responsible-Changed-By: remko 
Responsible-Changed-When: Sun Dec 18 18:15:46 UTC 2005 
Responsible-Changed-Why:  
ru@ did the hard part here, make it mine to MFC and close. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=88848 
State-Changed-From-To: open->patched 
State-Changed-By: linimon 
State-Changed-When: Sun Dec 25 03:20:36 UTC 2005 
State-Changed-Why:  
Set as MFC reminder. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=88848 
State-Changed-From-To: patched->closed 
State-Changed-By: remko 
State-Changed-When: Mon Dec 26 19:02:58 UTC 2005 
State-Changed-Why:  
I MFC'ed the grep.1 manual page to releng5 and 6 as well. 
Thanks for the notice! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=88848 
>Unformatted:
