On Sun, Aug 31, 2025 at 12:06:09PM -0700, cygwin wrote: > Description of the problem. > [0-9] picks also certain Unicode superscript characters ( namely, 0 4 5 6 > 7 8 9 ), and every Unicode subscript character. > > Example: the directory has the following files: > $ /bin/ls > 0.txt 1.txt 2.txt 3.txt 4.txt 5.txt 6.txt 7.txt 8.txt 9.txt > 0.txt 1.txt 2.txt 3.txt 4.txt 5.txt 6.txt 7.txt 8.txt 9.txt > > $ /bin/ls [0-9].txt > 0.txt 1.txt 3.txt 4.txt 5.txt 6.txt 7.txt 8.txt > 0.txt 2.txt 4.txt 5.txt 6.txt 7.txt 8.txt > > $ locale > LANG=en_US.UTF-8 > LC_CTYPE="en_US.UTF-8" > LC_NUMERIC="en_US.UTF-8" > LC_TIME="en_US.UTF-8" > LC_COLLATE="en_US.UTF-8" > LC_MONETARY="en_US.UTF-8" > LC_MESSAGES="en_US.UTF-8" > LC_ALL= > > System. > Fully up to date Windows 11 > cygwin 3.6.4-1 > bash 5.2.21-1 > This reproduces under Linux with the newest available bash versions.
Rather than post the gory details of what I think is the underlying cause, I'll report it as a bash issue and post a link to the report. Cheers ... Duncan. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple