URL:
  <http://savannah.gnu.org/bugs/?29537>

                 Summary: Grep incorrectly match unicode patterns with \< \>
                 Project: grep
            Submitted by: yarda
            Submitted on: Tue 13 Apr 2010 07:42:22 AM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

This bug originates from https://bugzilla.redhat.com/show_bug.cgi?id=549651

Version-Release number of selected component (if applicable):

Version     : 2.6.3                           

How reproducible:

Try to do such commands:

$ echo "Это просто текст" | grep '\<просто\>'
(no result)

$ echo "This is a text" | grep '\<is\>'
This is a text

Actual results:
sed and other utilites work properly, for example:

$ echo  "Это просто простой текст" | sed
s/'\<просто\>'/'не очень'/
Это не очень простой текст

$ locale
LANG=ru_RU.UTF-8





    _______________________________________________________

Reply to this item at:

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

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



Reply via email to