When did linux become caseless?

Nicholas Clark nick at ccl4.org
Fri Jun 15 11:22:37 BST 2007

On Fri, Jun 15, 2007 at 10:58:49AM +0100, Dirk Koopman wrote:
> Subject says it all really. Just did "rm [A-Z]*" and had a load of files 
>   with lower case first letters removed as well. Same thing happens for 
> "ls -d [A-Z]*"
> I am guessing that this some bash argument expansion option. Any ideas 
> as to how to get the correct behaviour?

It seems that the default is LANG=en_GB.UTF-8
and if bash is invoked with that it turns hateful.

unset that, and spawn a new shell. I'm not sure if it's possible to fix
the shell once it's running in hateful mode.

You may want to mail hate at hates-software.com with a rant about how much damage
this did, as someone will probably "troll" with an off topic post about how
to fix it. :-)

Nicholas Clark

More information about the london.pm mailing list