[Bug 256473] FreeBSD shells are case insensitive for character ranges

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 09 Jun 2021 13:30:25 +0000

--- Comment #8 from Jason W. Bacon <jwb_at_freebsd.org> ---
(In reply to Stefan E├čer from comment #5)

More notes to posterity:

LC_COLLATE is overridden by LC_ALL.

In the absence of any LC_* settings, collation is also affected by LANG.

Unsetting LANG and LC_* brings expected behavior:

FreeBSD coral.acadix  bacon ~/Test 1007: printenv | egrep 'LANG|LC'

FreeBSD coral.acadix  bacon ~/Test 1008: ls [A-Z]*
Alan  Bob   Zed

FreeBSD coral.acadix  bacon ~/Test 1009: ls [a-z]*
aardvark  zip

Thanks for the help...

You are receiving this mail because:
You are the assignee for the bug.
Received on Wed Jun 09 2021 - 13:30:25 UTC

Original text of this message