Bug 99831

Summary: grep(1): grep -P is unsupported (according to grep) but is supported according to the man page.
Product: Documentation Reporter: Laust Jespersen <L>
Component: Books & ArticlesAssignee: Tom Rhodes <trhodes>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Laust Jespersen 2006-07-06 08:20:15 UTC
grep -P is supposed be grep -P "Perl Reg. Exp." 
however grep says: 
grep: The -P option is not supported

Fix: 

remove mention of -P from man page (or alternately fix grep)
How-To-Repeat: try grep -P perlregexp <file>
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2006-07-06 18:29:22 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-doc

Reclassify.
Comment 2 Tom Rhodes freebsd_committer freebsd_triage 2006-10-10 02:57:35 UTC
State Changed
From-To: open->patched

The -P option has been removed from the manual page.  It seems 
easier and better to just remove it from there.  Thanks! 


Comment 3 Tom Rhodes freebsd_committer freebsd_triage 2006-10-10 02:57:35 UTC
Responsible Changed
From-To: freebsd-doc->trhodes

Over to me!  The MFCs are counting up here.
Comment 4 dfilter service freebsd_committer freebsd_triage 2006-10-10 02:57:48 UTC
trhodes     2006-10-10 01:57:26 UTC

  FreeBSD src repository

  Modified files:
    gnu/usr.bin/grep     grep.1 
  Log:
  grep -P xxx file.txt
  "The -P option is not supported"
  Removed from the manual page via this commit.
  
  PR:     99831
  
  Revision  Changes    Path
  1.29      +0 -5      src/gnu/usr.bin/grep/grep.1
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 dfilter service freebsd_committer freebsd_triage 2006-11-03 09:06:00 UTC
trhodes     2006-11-03 09:05:44 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    gnu/usr.bin/grep     grep.1 
  Log:
  Sync up to CURRENT and note the -P option is not supported on FreeBSD.
  
  PR:             99831
  Reviewed by:    ru
  Approved by:    re (hrs)
  
  Revision  Changes    Path
  1.26.2.2  +1 -0      src/gnu/usr.bin/grep/grep.1
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 6 Tom Rhodes freebsd_committer freebsd_triage 2006-11-03 09:06:10 UTC
State Changed
From-To: patched->closed

At first I removed the option, then, to make life easier 
for the next importer of grep, I re-added the option and 
just noted in both CURRENT and RELENG_6 that this option 
is not supported on FreeBSD.  Thanks!