1 |
I'm sorry, I wasnt clear in my original post. |
2 |
|
3 |
When using gnome in ubuntu, clicking the sort by name in nautilus sorts using |
4 |
[Aa]-[Zz] |
5 |
|
6 |
When using gnome in gentoo, clicking the sort by name in nautilus yields |
7 |
A-Z-a-z. |
8 |
|
9 |
The same thing happens for coreutils ls, and so on. |
10 |
|
11 |
Is there any file or configuration I have to check to use case |
12 |
insensitive sorting |
13 |
in gnome? |
14 |
|
15 |
On Mon, Jul 21, 2008 at 9:12 PM, Steven Lembark <lembark@×××××××.com> wrote: |
16 |
> Mark David Dumlao wrote: |
17 |
>> |
18 |
>> When ordering items by name, a separate and distinct sequence is scene for |
19 |
>> A-Z before the sequence for a-z. This is the expected behavior. What might i |
20 |
>> need to look up to intermix [Aa]-[Zz]? |
21 |
> |
22 |
> |
23 |
> Schwartzian Transform is the perlish version of a |
24 |
> technique from LISP: create a compound structure |
25 |
> with the output as payload: |
26 |
> |
27 |
> my @sorted |
28 |
> = map |
29 |
> { |
30 |
> $_->[-1] |
31 |
> } |
32 |
> sort |
33 |
> { |
34 |
> $a->[0] cmp $b->[0] |
35 |
> } |
36 |
> map |
37 |
> { |
38 |
> my $sortval = uc $_; |
39 |
> |
40 |
> [ $sortval, $_ ] |
41 |
> } |
42 |
> @unsorted_text; |
43 |
> |
44 |
> You can use the basic technique to sort anything |
45 |
> (multi-level sorts, numeric, whatever). Same basic |
46 |
> process works in other languages that support anon |
47 |
> arrays or structs. |
48 |
> |
49 |
> |
50 |
> -- |
51 |
> Steven Lembark 85-09 90th St. |
52 |
> Workhorse Computing Woodhaven, NY, 11421 |
53 |
> lembark@×××××××.com +1 888 359 3508 |
54 |
> |
55 |
> |
56 |
|
57 |
|
58 |
|
59 |
-- |
60 |
thing. |