Hi,

  bsch@host ~ % mkdir showsort
  user@host ~ % cd showsort 
  user@host ~/showsort % touch .A .Z .a .z A Z a z
  user@host ~/showsort % set | grep -a '^\(LANG\|LC_\)'
  LANG=de_DE.utf8
  LC_ALL=de_DE.utf8
  LC_COLLATE=C
  user@host ~/showsort % ls -A | cat
  a
  .a
  A
  .A
  z
  .z
  Z
  .Z
  user@host ~/showsort % export LC_ALL=
  user@host ~/showsort % ls -A | cat   
  .A
  .Z
  .a
  .z
  A
  Z
  a
  z
  user@host ~/showsort % 

Why doesn't ls obey LC_COLLATE=C and how can I fix this?

Thanks in advance.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de

Reply via email to