[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue with reading regexes from a file
From: |
Benno Schulenberg |
Subject: |
Re: Issue with reading regexes from a file |
Date: |
Thu, 20 Dec 2007 16:46:30 +0100 |
User-agent: |
KMail/1.9.7 |
David Corlette wrote:
> Not sure if this is a bug, a doc issue, or a misunderstanding as
> to what it's supposed to do, but I'm getting strange results when
> I attempt to use the "-f" option in combination with the '-P'
> option.
In the man page of grep-2.5.3 it says:
-P, --perl-regexp
Interpret PATTERN as a Perl regular expression.
This is highly experimental and grep -P may warn
of unimplemented features.
It should probably also say that it sometimes simply doesn't work.
Your grep is probably older and doesn't yet warn of the experimental
nature of -P.
Benno