X-Spam-Check-By: sourceware.org
Date: Fri, 28 Jul 2006 16:31:24 -0400
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Problem with grep -Fwf (version 2.5.1a-1 and 2.5.1a-2)
Message-ID: <20060728203124.GB8071@trixie.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <eadiub$tfs$1@sea.gmane.org> <20060728190502.GA8071@trixie.casa.cgf.cx> <eadr3b$o85$1@sea.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <eadr3b$o85$1@sea.gmane.org>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Fri, Jul 28, 2006 at 04:12:24PM -0400, Daniel Einspanjer wrote:
>I'm sorry, the message appeared to be formatted properly when I posted it 
>but something must have happened during transmission.  Each file should 
>have three lines. the data file has abc, def, and ghi.  The filter file has 
>abc, de, and ghi.  The de line is significant to test the -w whole word 
>matching flag.
>I appreciate your looking at this and I'm sorry for the confusion.  Could 
>you try it again with the files the way I just described and see if you 
>might be able to reproduce the problem?
>
>===== data.txt =====
>abc
>def
>ghi
>==========
>===== filter.txt =====
>abc
>de
>ghi
>==========

Yes, I can reproduce it now and see that it goes away if I update the
grep sources with patches from the FC5 release.  I'll release a new
version of grep this weekend.

I wonder why every test case I tried worked.  I didn't think I had the
standard developer's blind spot for grep.

cgf

--
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/

