Re: Confusion with grep & locale?

2021-08-20 Thread Eugene Grosbein
20.08.2021 16:03, 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 how

Re: Confusion with grep & locale?

2021-08-20 Thread parv/freebsd
On Thu, Aug 19, 2021 at 11:04 PM Helge Oldach wrote: ... > # uname -a > FreeBSD 13STABLE 13.0-STABLE FreeBSD 13.0-STABLE #49 > stable/13-n246779-64085efb677-dirty: Mon Aug 16 08:42:53 CEST 2021 > root@XXX amd64 > # export LANG=en_US.ISO8859-1 > # (echo bla; echo Bla) | grep '[A-Z]' > bla > Bla

Re: Confusion with grep & locale?

2021-08-20 Thread Stefan Ehmann
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

Re: Confusion with grep & locale?

2021-08-20 Thread Stefan Esser
Am 20.08.21 um 11:03 schrieb Helge Oldach: > 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 consistentl

Re: Confusion with grep & locale?

2021-08-20 Thread Warner Losh
On Fri, Aug 20, 2021 at 8:19 AM Helge Oldach wrote: > Stefan Esser wrote on Fri, 20 Aug 2021 14:47:11 +0200 (CEST): > > Am 20.08.21 um 11:03 schrieb Helge Oldach: > > But POSIX makes no guarantees for locales other than POSIX or C. > > OK, thanks for the explanation. That clarifies a lot for me.

Re: FreeBSD nullfs jail

2021-08-20 Thread Lucas Nali de Magalhães
> On Aug 20, 2021, at 12:17 AM, Eugene Kazarinov wrote: > > Information > > I made this script a few year ago for FreeBSD 9.0 > (…) Sorry, I'm lost in this discussion. What is the problem supposed to be? -- rollingbits — 📧 rollingb...@icloud.com 📧 rollingb...@gmail.com 📧 rollingb...@yahoo.c