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/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256473 Stefan Eßer <se@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Works As Intended Status|Open |Closed --- Comment #5 from Stefan Eßer <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=C" or "setenv LC_COLLATE C" depending on the type of shell). This will make all shells use the collating sequence specified for the C locale and that is what you seem to want. Everything works as it should, therefore I'm going to close this PR. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256473-227-JUtqjqsD43>
