Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Jun 2021 16:17:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 256473] FreeBSD shells are case insensitive for character ranges
Message-ID:  <bug-256473-227-JUtqjqsD43@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-256473-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-256473-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256473

Stefan E=C3=9Fer <se@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Works As Intended
             Status|Open                        |Closed

--- Comment #5 from Stefan E=C3=9Fer <se@FreeBSD.org> ---
(In reply to Jason W. Bacon from comment #3)
As explained in the previous comment, the behavior you observe with bash is
caused by "globasciiranges" set to on.

I was wrong when I mentioned LC_CTYPE as relevant for collating sequences, =
it
does only apply to the character class.

You want to set LC_COLLATE to "C" (i.e. "export LC_COLLATE=3DC" or "setenv
LC_COLLATE C" depending on the type of shell).

This will make all shells use the collating sequence specified for the C lo=
cale
and that is what you seem to want.

Everything works as it should, therefore I'm going to close this PR.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256473-227-JUtqjqsD43>