[Bug 256473] FreeBSD shells are case insensitive for character ranges
Date: Tue, 08 Jun 2021 16:17:03 UTC
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.