Follow-up Comment #1, patch #3934 (project grep): For a script reproducing the problem, download attached grep-P-utf8-bug.sh.
If you have arabic fonts, you can see how the UTF8 string gets broken very clearly, however it is not needed. Thanks to Charles for pointing out the script(1) tool. For the discussion leading to this patch see this thread: http://lists.gnu.org/archive/html/bug-grep/2005-04/msg00049.html Note that the original submission is for some reason not in the archive. Also note that although the user reported it as a --color error, the problem is general and has nothing in particular to do with --color. Claudio _______________________________________________________ Additional Item Attachment: File name: grep-P-utf8-bug.sh Size:0 KB Use this script to verify the bug <http://savannah.gnu.org/patch/download.php?item_id=3934&item_file_id=4522> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/patch/?func=detailitem&item_id=3934> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
