[Top][All Lists]

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

Re: grep-2.6.2 -Ff hangs on files with empty lines

From: Allan McRae
Subject: Re: grep-2.6.2 -Ff hangs on files with empty lines
Date: Wed, 31 Mar 2010 16:40:12 +1000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20100301 Shredder/3.0.3

On 31/03/10 16:21, Jim Meyering wrote:
Allan McRae wrote:
Grep-2.6.2 will hang on "grep -Ff foo bar" if foo contains an empty
line.  The bug is new to 2.6.2.

Thanks for the report.
However, so far, I am unable to reproduce that.

Please provide more details:
   - type of CPU and OS you are using

I am running Arch Linux and get the issue on both i686 and x86_64. Grep is configured with:
./configure --prefix=/usr --bindir=/bin --without-included-regex

   - the contents of your "foo" and "bar" files

I replicate using your example:

printf 'a\n\nb\n' > foo
seq 10 > bar

grep -Ff foo bar


reply via email to

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