Roman Rakus wrote: > I think in range [a-d] shouldn't be any upper char. These are 2 > different things. Collate orders and range match. Try to use glob and > you will see difference. > This is really not good behavior of bash.
This is and always has been locale-dependent. The collation sequence defined with the left and right borders you give with [x-y] matters. It's the very same behaviour you have with BRE/ERE. Not to mention the POSIX requirement. J.