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 16:06:09
Message-Id: 20160727160551.GA43941@becker.bs.l
In Reply to: Re: [gentoo-user] LC_COLLATE overridden by LC_ALL? by Joerg Schilling
1 On Wednesday, 27. Jul 2016, 17:40:29 +0200, Joerg Schilling wrote:
2 > Bertram Scharpf <lists@×××××××××××××××.de> wrote:
3 >
4 > > Why doesn't ls obey LC_COLLATE=C and how can I fix this?
5 >
6 > try to export it.....
7
8 Did you really mean this?
9
10 user@host ~/showsort % set | grep -a '^\(LANG\|LC_\)'
11 LANG=de_DE.utf8
12 LC_ALL=de_DE.utf8
13 LC_COLLATE=C
14 user@host ~/showsort % export LC_COLLATE=C
15 user@host ~/showsort % ls -A | cat
16 a
17 .a
18 A
19 .A
20 z
21 .z
22 Z
23 .Z
24 user@host ~/showsort %
25
26 Bertram
27
28
29 --
30 Bertram Scharpf
31 Stuttgart, Deutschland/Germany
32 http://www.bertram-scharpf.de