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