GNU bug report logs - #24973
[regression] [d-f] no longer includes e with acute accent in single-byte locales

Previous Next

Package: grep;

Reported by: Stephane Chazelas <stephane.chazelas <at> gmail.com>

Date: Sun, 20 Nov 2016 21:15:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stephane CHAZELAS <stephane.chazelas <at> gmail.com>
To: Dennis Clarke <dclarke <at> blastwave.org>
Cc: 24973 <at> debbugs.gnu.org
Subject: bug#24973: [regression] [d-f] no longer includes e with acute accent in single-byte locales
Date: Sun, 20 Nov 2016 22:22:36 +0000
2016-11-20 16:38:29 -0500, Dennis Clarke:
> On 11/20/2016 04:14 PM, Stephane Chazelas wrote:
> >printf '\351\n' | LC_ALL=en_US.iso88591
> 
> On a Solaris 10 system
[...]

FWIW, on Solaris 11, it looks as if (speculated from very few
tests) GNU grep's ranges ([x-y]) are only based on code point,
both in 2.25 and 2.26 so [d-f] doesn't match é in any locale.

Seems to behave like /bin/grep in that instance, not
/usr/xpg4/bin/grep

-- 
Stephane




This bug report was last modified 8 years and 185 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.