Re: Bash, problem with wildcard [a-z]



Huibert Bol <huibert.bol@xxxxxxxxxxx> wrote:
$ LC_COLLATE=C sh -c 'echo [a-b]'
a b

I see what you're writing (let's hope the OP does, too), but

$ LC_COLLATE=C sh -c 'echo [a-b]'
[a-b]

Chris
.