Re: Confusion with grep & locale?

From: Stefan Ehmann <shoesoft_at_gmx.net>
Date: Fri, 20 Aug 2021 10:04:26 UTC
On Friday, August 20, 2021 11:03:26 AM CEST Helge Oldach wrote:
> Hi all,
>
> I'm confused about the FreeBSD behaviour with respect to locale's
> and grep - specifically, it seems case sensitivity is not handled
> consistently when grepping character ranges. It looks to me like 11 and
> 13 are not behaving consistently however I'm unclear why.


It's not necessarily a bug, see here:
<https://www.gnu.org/software/gawk/manual/html_node/Ranges-and-Locales.html>

"[...] that the 2008 standard had changed the definition of ranges, such that
outside the "C" and "POSIX" locales, the meaning of range expressions was
undefined."