[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-grep] 'grep -F -w' fails to find certain matches

From: Tim Waugh
Subject: Re: [bug-grep] 'grep -F -w' fails to find certain matches
Date: Fri, 11 Mar 2005 14:21:35 +0000
User-agent: Mutt/

On Thu, Mar 10, 2005 at 01:36:49PM -0800, address@hidden wrote:

> 'grep -F -w' misses matches if they are preceded by a
> non-word match. I get this on Windows 2000 with two
> different grep binaries and on Linux (Puppy Linux live
> CD):
> C:\>echo PATTERN7 PATTERN | grep -F -w -c "PATTERN"
> 0
> C:\>echo 7PATTERN PATTERN | grep -F -w -c "PATTERN"
> 1

Both of these cases work fine with the Fedora Core patched grep


Attachment: pgpQisqeN_zEr.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]