[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Possible case-sensitive with -o option bug
From: |
Benno Schulenberg |
Subject: |
Re: Possible case-sensitive with -o option bug |
Date: |
Mon, 10 Mar 2008 21:17:32 +0100 |
User-agent: |
KMail/1.9.9 |
smu johnson wrote:
> I found an interesting case of grep malfunctioning and I'm not
> sure if it's Cygwin's fault or greps...
In a sense: both. It is a bug in grep, and Cygwin has neglected to
apply a patch that most distributions apply. Attached for your
convenience. It makes your example work here:
$ echo x.nsF | src/grep -i -o '[^ ]\+\.nsf$'
x.nsF
$ src/grep --version | head -1
grep (GNU grep) 2.5.1
Benno
grep-2.5.1-oi.patch
Description: Text Data