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

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 09 Jun 2021 13:30:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256473

--- Comment #8 from Jason W. Bacon <jwb@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.