delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/28/16:31:38

X-Spam-Check-By: sourceware.org
Date: Fri, 28 Jul 2006 16:31:24 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT 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 AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <eadiub$tfs$1 AT sea DOT gmane DOT org> <20060728190502 DOT GA8071 AT trixie DOT casa DOT cgf DOT cx> <eadr3b$o85$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <eadr3b$o85$1@sea.gmane.org>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019