Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Nov 2005 17:17:53 +0100 (CET)
From:      Riccardo Torrini <riccardo@torrini.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/88848: grep manual jammed
Message-ID:  <20051111161753.538B31A744@silos.torrini.home>
Resent-Message-ID: <200511111620.jABGKIHU072661@freefall.freebsd.org>

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

>Number:         88848
>Category:       docs
>Synopsis:       grep manual jammed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 11 16:20:18 GMT 2005
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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