|
From: | Allan McRae |
Subject: | Re: grep-2.6.2 -Ff hangs on files with empty lines |
Date: | Sat, 03 Apr 2010 12:48:16 +1000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100330 Shredder/3.0.4 |
Hi,I have just got to testing the fixes for the -Ff issues and the hang in UTF8 locales seems to have been fixed. However (default locale en_AU.UTF8),
$ grep -Ff <(printf 'a') <(printf 'a\nb') a $ LC_ALL=C grep -Ff <(printf 'a') <(printf 'a\nb') a $ grep -Ff <(printf '\na') <(printf 'a\nb') a b $ LC_ALL=C grep -Ff <(printf '\na') <(printf 'a\nb') a bAre those last two correct? I think this is what commit http://git.savannah.gnu.org/cgit/grep.git/commit/?id=5fa8c7c9 is trying to fix but 2.6.3 is stiff affected.
Allan
[Prev in Thread] | Current Thread | [Next in Thread] |