Your message dated Thu, 01 Feb 2007 05:40:27 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#409221: /usr/bin/sort: sort produces incorrectly sorted 
output
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: coreutils
Version: 5.97-5.2
Severity: important
File: /usr/bin/sort

The following is a snipet of the output from sort with no options (which
should sort the entire line):
"\x1B[D","cub1","visa50"
"\x1BD","cud1","ims_ansi"
"\x1BD","cud1","ims_ansi"
"\x1BD","cud1","ims_ansi"
"\x1BD","cud1","wy99a_ansi"
"\x1BD","cud1","wy99_ansi"
"\x1BD","ind","ansi77"
"\x1BD","ind","iris_ansi"
"\x1BD","ind","iris_ansi"
"\x1BD","ind","iris_ansi_ap"
"\x1BD","ind","iris_color"
"\x1BD","ind","iris_color"
"\x1BD","ind","mai"
"\x1BD","ind","mai"
"\x1BD","ind","z29a"
"\x1BD","ind","z29a"
"\x1BD","ind","z29a"
"\x1BD","ind","z29a_kc_uc"
"\x1BD","ind","z29a_kc_uc"
"\x1BD","ind","z29a_nkc_bc"
"\x1BD","ind","z29a_nkc_bc"
"\x1BD","ind","z29a_nkc_uc"
"\x1BD","ind","z29a_nkc_uc"
"\x1B[D","kbs","dg460_ansi"

Sort is ignoring the "[" character and producing incorrectly sorted output.

And as another bug report mentioned, sort really needs an ASCII order.  But
even without ASCII collating order, every character should be significant
unless explictly stated otherwise.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages coreutils depends on:
ii  libacl1                      2.2.42-1    Access control list shared library
ii  libc6                        2.3.6.ds1-9 GNU C Library: Shared libraries
ii  libselinux1                  1.32-3      SELinux shared libraries

coreutils recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
On Wed, Jan 31, 2007 at 07:31:13PM -0500, Mark Whitis wrote:
Package: coreutils
Version: 5.97-5.2
Severity: important

This isn't important. Please don't abuse the severity levels; important doesn't mean "I care about this and you should too".

Sort is ignoring the "[" character and producing incorrectly sorted output.

No, sort is ignoring the [ and producing correctly sorted output. The rules of your currently selected locale indicate that punctuation should be ignored when sorting by dictionary order. If you don't like that, convince the maintainer of your locale that your locale actually has different sorting rules. (I suspect that effort will not succeed, because that isn't generally true.) If you want a non-dictionary ascii sort use LANG=C or at least LC_COLLATE=C

Mike Stone

--- End Message ---

Reply via email to