bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch #6869] fgrep/egrep returns wrong matched none UTF-8 chars


From: Fujiwara
Subject: [patch #6869] fgrep/egrep returns wrong matched none UTF-8 chars
Date: Mon, 20 Jul 2009 08:40:53 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; ja; rv:1.9.1b4) Gecko/20090427 Fedora/3.5-0.20.beta4.fc11 Firefox/3.5b4

Follow-up Comment #2, patch #6869 (project grep):

> The usage of `echo' is incorrect. Instead, use `printf'.
> $ /bin/echo -e "x81x30x89x38"
> x81x30x89x38 

No, it's not different of my result.

% /bin/echo -e "x81x30x89x38" | od -tx1 -Ax
000000 81 30 89 38 0a
000005

Did you run the terminal on zh_CN.GB18030 ?

Also the problem is egrep/fgrep but not grep.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?6869>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]