bug-grep
[Top][All Lists]
Advanced

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

[bug #29496] matching file begin and end gives wrong results


From: malenki
Subject: [bug #29496] matching file begin and end gives wrong results
Date: Fri, 09 Apr 2010 21:51:50 +0000
User-agent: Opera/9.80 (X11; Linux i686; U; de) Presto/2.2.15 Version/10.10

Follow-up Comment #2, bug #29496 (project grep):

Testfile added.
My locale is de_DE.UTF-8

The string is
grep ^[A-Z] str_grep_testcase.txt

grep version 2.5.3 gives - like expected
Dachssteig
Danziger StraßE

version 2.6.2 gives

Dachssteig
Danziger StraßE
dehmelweg
drögenkamP
droste-Hülshoff-StraßE

The behaviour of grep has changed since I test both versions on the same
system. 
I don't know why grep should reply the same strings no matter if I grep for
^[A-Z] or ^[a-z].
Besides, how would you grep for lines starting with a capital character using
a locale!=C?

PS: strange behaviour of this tracker to let everybody w/o login open a
ticket but not reply to it...

(file #20176)
    _______________________________________________________

Additional Item Attachment:

File name: str_grep_testcase.txt          Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?29496>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/





reply via email to

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