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

Allan


Reply via email to