bash glob expands [a-c] to [aAbBc]
Bug #1700610 reported by
Cédric M. Campos
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.