Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 2021 12:04:26 +0200
From:      Stefan Ehmann <shoesoft@gmx.net>
To:        stable@freebsd.org
Cc:        Helge Oldach <freebsd@oldach.net>
Subject:   Re: Confusion with grep & locale?
Message-ID:  <3924915.BRNeRiNLvY@walrus.pepperland>
In-Reply-To: <202108200903.17K93QN3091126@nuc.oldach.net>

index | next in thread | previous in thread | raw e-mail

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."




help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3924915.BRNeRiNLvY>