Mailinglist Archive: opensuse-bugs (7182 mails)

< Previous Next >
[Bug 355255] New: yast2 sw_single sort problem still not solved
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 22 Jan 2008 05:02:02 -0700 (MST)
  • Message-id: <bug-355255-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=355255

User casualprogrammer@xxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=355255#c2

Summary: yast2 sw_single sort problem still not solved
Product: openSUSE 11.0
Version: Alpha 1
Platform: x86
OS/Version: openSUSE 11.0
Status: NEW
Severity: Normal
Priority: P5 - None
Component: YaST2
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: casualprogrammer@xxxxxxxxx
QAContact: jsrain@xxxxxxxxxx
CC: sh@xxxxxxxxxx, casualprogrammer@xxxxxxxxx,
crrodriguez@xxxxxxxxxx
Found By: Beta-Customer


As pointed out in Bug 350809 Comment #2

"packages not sorted in any fashion, clicking on the column header ( which
would
normally sort after this columns content ) achieves nothing."

Clicking on the column header now sorts the items displayed, but sort order is
binary not alphabetical.

Consider testfile containing:

cat testfile
Abc
abc
bcd
BCD
Bcd
BcD
123
4bb
3nn
zyp
bte
654
987
234
Ber
Reg
GGv
GGG
ggg
ggV

then

cat testfile | sort

123
234
3nn
4bb
654
987
Abc
BCD
BcD
Bcd
Ber
GGG
GGv
Reg
abc
bcd
bte
ggV
ggg
zyp

which is a binary sort enforced by setting RC_LC_ALL to C in
/etc/sysconfig/language

What I ( and most probably the majortity of useres ) would prefer is an
alphabetical sort order as

cat testfile | sort

123
234
3nn
4bb
654
987
abc
Abc
bcd
Bcd
BcD
BCD
Ber
bte
ggg
GGG
ggV
GGv
Reg
zyp

As sort --help points out :

*** WARNING ***
The locale specified by the environment affects sort order.
Set LC_ALL=C to get the traditional sort order that uses
native byte values.

So a fix would involve making yast2 sw_single honor the locale environment
variables for sort order.


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >