buggrep - Bugs: bug #29537, Grep incorrectly match unicode...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #29537: Grep incorrectly match unicode patterns with \< \>

Submitter:  Jaroslav Škarvada <yarda>
Submitted:  Tue 13 Apr 2010 07:42:22 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Confirmed
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Sat 17 Apr 2010 11:04:43 AM UTC, comment #1: 

Thanks.  See discussion on the list:

http://thread.gmane.org/gmane.comp.gnu.grep.bugs/3054

Jim Meyering <meyering>
Group administrator
Tue 13 Apr 2010 07:42:22 AM UTC, original submission:  

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

Jaroslav Škarvada <yarda>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by meyering (Posted a comment)
  • -email is unavailable- added by yarda (Submitted the item)
  • -email is unavailable- added by yarda
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-04-17 meyering StatusNone Confirmed
        SummaryGrep incorrectly match unicode patterns with \\&lt; \\&gt; Grep incorrectly match unicode patterns with \< \>
    2010-04-13 yarda Carbon-Copy- Added yarda

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code