Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Jun 2021 13:30:25 +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-rOrtyPaQqw@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

--- Comment #8 from Jason W. Bacon <jwb@freebsd.org> ---
(In reply to Stefan E=C3=9Fer 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...

--=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-rOrtyPaQqw>