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: Paolo Bonzini
Subject: [bug #29496] matching file begin and end gives wrong results
Date: Sat, 10 Apr 2010 12:08:50 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100216 Fedora/3.5.8-1.fc12 Firefox/3.5.8

Update of bug #29496 (project grep):

                  Status:               Need Info => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #3:

> The behaviour of grep has changed since I test both versions on the same
system.

True, but it's a bugfix. (BTW, did you compile 2.5.3 yourself or did you use
your distro's)?

> I don't know why grep should reply the same strings no matter if I grep for
^[A-Z] or ^[a-z].

It actually doesn't, one would omit "a" and the other would omit "Z".  It's
the way it is, and we cannot change it.

> Besides, how would you grep for lines starting with a capital character
using a locale!=C?

You don't.  You have to set LC_ALL=C or at least LC_COLLATE=C.

I'm closing the bug, but feel free to reply again if you have other doubts.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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