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/> 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 #3 from Jason W. Bacon <jwb@freebsd.org> --- In tcsh, I have to set LANG=3DC *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=3Den_US.UTF-8 LANG=3Den_US.UTF-8 LC_ALL=3Den_US.UTF-8 [bacon@coral ~/Test]$ ls -d [A-Z]* Alan Bob [bacon@coral ~/Test]$=20 exit # Back to tcsh FreeBSD coral.acadix bacon ~/Test 1039: printenv | egrep 'LANG|LC' LANGUAGE=3Den_US.UTF-8 LC_ALL=3Den_US.UTF-8 LANG=3Den_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 --=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-ES6yuX6TOn>