Gentoo Archives: gentoo-user

From: Bertram Scharpf <lists@×××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] LC_COLLATE overridden by LC_ALL?
Date: Wed, 27 Jul 2016 20:57:13
Message-Id: 20160727205654.GA98258@becker.bs.l
In Reply to: Re: [gentoo-user] LC_COLLATE overridden by LC_ALL? by Matthias Schwarzott
1 On Wednesday, 27. Jul 2016, 21:40:56 +0200, Matthias Schwarzott wrote:
2 > Am 27.07.2016 um 17:33 schrieb Bertram Scharpf:
3 > >
4 > > user@host ~/showsort % set | grep -a '^\(LANG\|LC_\)'
5 > > LANG=de_DE.utf8
6 > > LC_ALL=de_DE.utf8
7 > > LC_COLLATE=C
8 >
9 > > Why doesn't ls obey LC_COLLATE=C and how can I fix this?
10 > >
11 >
12 > Look at the description of LC_ALL:
13 >
14 > LC_ALL If set to a non-empty string value, override the values of
15 > all the other internationalization variables.
16 >
17 > [...]
18 >
19 > In scripts I normally use LC_ALL=C sort.
20
21 Ouch! How could I be wrong about this simple thing for so
22 many years? I'm baffled.
23
24 Thank you.
25
26 Bertram
27
28
29 --
30 Bertram Scharpf
31 Stuttgart, Deutschland/Germany
32 http://www.bertram-scharpf.de