bug-grep
[Top][All Lists]
Advanced

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

bug#16867: [bug #37600] grep -w cuts words on non-ascii


From: Jim Meyering
Subject: bug#16867: [bug #37600] grep -w cuts words on non-ascii
Date: Mon, 24 Feb 2014 08:53:17 -0800

Re the savannah bug report, http://savannah.gnu.org/bugs/?37600
[Let's continue on the mailing list -- now our preferred medium]

On Mon, Feb 24, 2014 at 6:57 AM, Stephane Chazelas wrote:
[...]

Thanks for the report.
I confirm it is still a problem with the latest, grep-2.18:
[Note that there's nothing special about the following multi-byte
character or about the locale. ]

    $ printf 'x\nx\xc3\xa5\n' |LC_ALL=en_US.utf8 grep --color 'x\b'
    x
    xå

This is pretty serious:

    $ printf 'p\xc3\xa8re\n' |LC_ALL=en_US.utf8 grep -w p
    père





reply via email to

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