FS#22428 - [test iso 2011.01.09] aif package selection should be sorted more naturally.
Attached to Project:
Release Engineering
Opened by Thomas Dziedzic (tomd123) - Friday, 14 January 2011, 17:41 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Monday, 26 November 2012, 04:46 GMT
Opened by Thomas Dziedzic (tomd123) - Friday, 14 January 2011, 17:41 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Monday, 26 November 2012, 04:46 GMT
|
Details
When selecting packages, they are categorized by group.
The order in the list is, base, base-devel, none. This order is ok, but the subgroups themselves aren't alphabetically sorted. Link to report from the report issues script: http://sprunge.us/gNGY |
This task depends upon
Closed by Gerardo Exequiel Pozzi (djgera)
Monday, 26 November 2012, 04:46 GMT
Reason for closing: Deferred
Monday, 26 November 2012, 04:46 GMT
Reason for closing: Deferred
please confirm
None coming before base is strange though, could it have something to do with the "N" being a capital letter?
$ printf '%s\n' n o O N a | LC_COLLATE=C sort
N
O
a
n
o
Using a locale like en_US, you get more "alphabetical" behavior:
$ printf '%s\n' n o O N a | LC_COLLATE=en_US sort
a
n
N
o
O
src/aif.sh
14:export LC_COLLATE=C # for consistent sorting behavior
*but* we use the -f flag, so N should come after a, as demonstrated here:
$ printf '%s\n' n o O N a | LC_COLLATE=C sort -f
a
N
n
O
o