Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jul 2006 07:16:22 GMT
From:      Laust Jespersen <L@ust.dk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/99831: grep -P is unsupported (according to grep) but is supported according to the man page.
Message-ID:  <200607060716.k667GM4C046114@www.freebsd.org>
Resent-Message-ID: <200607060720.k667KFK4064014@freefall.freebsd.org>

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

>Number:         99831
>Category:       misc
>Synopsis:       grep -P is unsupported (according to grep) but is supported according to the man page.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 06 07:20:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Laust Jespersen
>Release:        6.1-STABLE
>Organization:
>Environment:
FreeBSD my.ipfw.dk 6.1-STABLE FreeBSD 6.1-STABLE #0: Fri Jun 30 13:09:14 CEST 2006     root@my.ipfw.dk:/usr/obj/usr/src/sys/MY  i386

>Description:
grep -P is supposed be grep -P "Perl Reg. Exp." 
however grep says: 
grep: The -P option is not supported

>How-To-Repeat:
try grep -P perlregexp <file>
>Fix:
remove mention of -P from man page (or alternately fix grep)
>Release-Note:
>Audit-Trail:
>Unformatted:



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