bash glob expands [a-c] to [aAbBc]

Bug #1700610 reported by Cédric M. Campos
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bash (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi, there!

I've realized that bash globbing or glob expansion fails to expand letter ranges as expected. For instance, [a-c] is expanded to [aAbBc] instead of to [abc] and [A-C] to [AbBcC] instead of to [ABC], i.e. small and capital letters are intersperse.

One way to correct this is enabling the bash option "globasciiranges", which is disabled by default. This problem is LOCALE dependent and might vary from one system to another.

Fully updated Ubuntu-GNOME 16.04.2 LTS 64-bit with bash 4.3.48(1)-release.

affects: wajig (Ubuntu) → bash (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.