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: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Confirmed
Privacy: PublicAssigned 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
  • -unavailable- added by meyering (Posted a comment)
  • -unavailable- added by yarda (Submitted the item)
  • -unavailable- added by yarda

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

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 17 Apr 2010 11:04:43 AM UTCmeyeringStatusNone=>Confirmed
      SummaryGrep incorrectly match unicode patterns with \\< \\>=>Grep incorrectly match unicode patterns with \< \>
    Tue 13 Apr 2010 07:42:23 AM UTCyardaCarbon-Copy-=>Added yarda

    Back to the top

    Powered by Savane 3.1-cleanup1