bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #14990] "The -P option is not supported"


From: anonymous
Subject: [bug #14990] "The -P option is not supported"
Date: Wed, 16 Nov 2005 18:10:15 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=14990>

                 Summary: "The -P option is not supported"
                 Project: grep
            Submitted by: None
            Submitted on: Wed 11/16/05 at 18:10
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

grep 2.5.1 seems to not support the -P or --perl-regexp option, despite the
fact that these options are documented in the man page.

After reading another bug, "grep -P" doesn't support pattern lists"
(http://savannah.gnu.org/bugs/?func=detailitem&item_id=14946), I guess it is
the case that -P is broken.  Ideally, -P should be fixed!  If it can't be
fixed, there should be a mention of this in the man page.

I'm using grep 2.5.1-r8 on Gentoo and have perl 5.8.6 for i686 linux
installed.



DEMONSTRATION:
address@hidden ~ $ grep -V
grep (GNU grep) 2.5.1

Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

address@hidden ~ $ grep -P "\d" /etc/services
grep: The -P option is not supported








    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=14990>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]