misc/99831: grep -P is unsupported (according to grep) but is supported according to the man page.

Laust Jespersen L at ust.dk
Thu Jul 6 07:20:16 UTC 2006


>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 at 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:


More information about the freebsd-bugs mailing list