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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to