This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

grep 2.5.1a-1: -P unsupported


I think I found a bug in the latest version of grep in Cygwin.  I use
"grep -P" frequently to search for files using Perl-compatible regular
expressions.  I updated Cygwin a couple of days ago, and suddenly found
the -P and --perl-regexp options (equivalent) didn't work.  When you try to
use -P, it says "-P option not supported."

I messed around with options, installed and uninstalled pcre and Perl, and
finally went back from grep 2.5.1a-1 to the previous version, 2.5.1.  That
fixed it, leaving me to assume something in 2.5.1a-1 is broken, with respect
to the perl-compatible options.

Cheers!
Dave


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]