I wrote:

> Version 2.5.1a of GNU grep for Win32 doesn't work when the -o (show
> matching part of line only) and -i (ignore case) options are specified
> together.
> 
> For example:
> 
> echo HELLO THERE|grep -oi "hello"
> 
> should return
> 
> HELLO
> 
> but it returns nothing.
> 
> I was told that this has been fixed in the CVS version.
> 
> Please could someone tell me how to checkout the CVS version so that I
> can (attempt to) build it.  Or, preferably, please point me to a Win32
> binary which has the fix included.

I got the nightly CVS snapshot from

http://www.dal-acm.ca/~taa/grep/grep-2.5.1-cvs.tar.gz

and compiled it using MinGW GCC (though I had to remove the reference to
S_ISSOCK on line 1167 of grep.c).

The problem is now solved.

Regards,
Jonny
_______________________________________________
help-gnu-utils mailing list
help-gnu-utils@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-utils

Reply via email to