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 \< \>

Submitted by:  Jaroslav Škarvada <yarda>
Submitted on:  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:


Jim Meyering <meyering>
Project 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

Jaroslav Škarvada <yarda>


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

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    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 \\< \\> => Grep incorrectly match unicode patterns with \< \>
    2010-04-13 yarda Carbon-Copy- => Added yarda

    Back to the top

    Powered by Savane 3.7