On Wednesday, 27. Jul 2016, 21:40:56 +0200, Matthias Schwarzott wrote:
> Am 27.07.2016 um 17:33 schrieb Bertram Scharpf:
> > 
> >   user@host ~/showsort % set | grep -a '^\(LANG\|LC_\)'
> >   LANG=de_DE.utf8
> >   LC_ALL=de_DE.utf8
> >   LC_COLLATE=C
> 
> > Why doesn't ls obey LC_COLLATE=C and how can I fix this?
> > 
> 
> Look at the description of LC_ALL:
> 
>   LC_ALL    If set to a non-empty string value, override the values of
> all the other internationalization variables.
> 
> [...]
> 
> In scripts I normally use LC_ALL=C sort.

Ouch! How could I be wrong about this simple thing for so
many years? I'm baffled.

Thank you.

Bertram


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

Reply via email to