On Wednesday, 27. Jul 2016, 17:40:29 +0200, Joerg Schilling wrote: > Bertram Scharpf <li...@bertram-scharpf.de> wrote: > > > Why doesn't ls obey LC_COLLATE=C and how can I fix this? > > try to export it.....
Did you really mean this? user@host ~/showsort % set | grep -a '^\(LANG\|LC_\)' LANG=de_DE.utf8 LC_ALL=de_DE.utf8 LC_COLLATE=C user@host ~/showsort % export LC_COLLATE=C user@host ~/showsort % ls -A | cat a .a A .A z .z Z .Z user@host ~/showsort % Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de