Date: Tue, 08 Jun 2021 15:27:39 +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-ES6yuX6TOn@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 --- Comment #3 from Jason W. Bacon <jwb@freebsd.org> --- In tcsh, I have to set LANG=C *and* unset LC_ALL to get expected behavior. In bash, neither setting matters. FreeBSD coral.acadix bacon ~/Test 1038: bash [bacon@coral ~/Test]$ printenv | egrep 'LANG|LC' LANGUAGE=en_US.UTF-8 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 [bacon@coral ~/Test]$ ls -d [A-Z]* Alan Bob [bacon@coral ~/Test]$ exit # Back to tcsh FreeBSD coral.acadix bacon ~/Test 1039: printenv | egrep 'LANG|LC' LANGUAGE=en_US.UTF-8 LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 FreeBSD coral.acadix bacon ~/Test 1040: ls -d [A-Z]* Alan Bob zip FreeBSD coral.acadix bacon ~/Test 1041: setenv LANG C FreeBSD coral.acadix bacon ~/Test 1042: ls -d [A-Z]* Alan Bob zip FreeBSD coral.acadix bacon ~/Test 1043: unsetenv LC_ALL FreeBSD coral.acadix bacon ~/Test 1044: ls -d [A-Z]* Alan Bob -- 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-ES6yuX6TOn>
