Dan Jacobson wrote:
Julian, maybe it is on http://packages.debian.org/grep
Package: grep
Version: 2.5.1.ds2-4
-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Kernel: Linux 2.6.14-2-k7
Versions of packages grep depends on: libc6 2.3.5-8.1

OK, thanks for the further info.

I don't think this is a bug in GNU Grep itself, but maybe is a bug introduced by one of the patches that Debian apply to their package of Grep. You might want to report it to Debian.

It has just occurred to me that, because the byte 0x80 is not a valid UTF-8 string (as far as I know), when Grep is asked to search for a pattern consisting of only that byte, in a UTF-8 locale, the behaviour could be expected to be undefined. Therefore other people might not regard this as a bug.

- Julian


Reply via email to