[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #29537] Grep incorrectly match unicode patterns with \< \>
From: |
Jaroslav Škarvada |
Subject: |
[bug #29537] Grep incorrectly match unicode patterns with \< \> |
Date: |
Tue, 13 Apr 2010 07:42:23 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; cs-CZ; rv:1.9.1.9) Gecko/20100330 Fedora/3.5.9-2.fc12 Firefox/3.5.9 |
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/
- [bug #29537] Grep incorrectly match unicode patterns with \< \>,
Jaroslav Škarvada <=