This is the mail archive of the
cygwin
mailing list for the Cygwin project.
grep 2.5.1a-1: -P unsupported
- From: "David DelGreco" <dave at delatore dot com>
- To: <cygwin at cygwin dot com>
- Date: Mon, 28 Feb 2005 05:06:35 -0800
- Subject: 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/