** Changed in: bash (Ubuntu)
   Importance: Undecided => Low

** Description changed:

  do this in a gash (temporary) directory:
  
  touch A a B b
  ls [A-Z]*
  
  you get:-
  
  A  b  B
  
- What most people (especially unix users with >25 years experience) is:-
+ What most people (especially unix users with >25 years experience)
+ expect is:-
  
  A B
  
  I found out about this by accident yesterday by doing "rm [A-Z]*" in a
  directory expecting only files with a initial uppercase letter to be
  removed. You can imagine my surprise when every file (except those
  starting in 'a') where removed. Fortunately most of the files were
  either redundant or backed up, but it still caused me a completely
  unnecessary hour's work to restore the damage.
  
  Obviously the collating sequence is aAbBcCdD... but that really does
  *not* make it right. Other linux distros do not have this problem, but
  then they seem to set:
  
  export LC_COLLATE=C
  
  as standard,  which is missing in a standard ubuntu installation
  (6.06lts -> 7.04)
  
  That *is* the work around, but I would respectfully suggest that you set
  it as standard before someone destroys something irreplaceable!

-- 
Caseless collate sequence in en_GB.UTF8
https://bugs.launchpad.net/bugs/120687
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to