Your message dated Sat, 26 Jan 2008 20:36:30 -0500
with message-id <[EMAIL PROTECTED]>
and subject line coreutils: ls -v sorts path segments incorrectly
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.3
Severity: normal

suppose the commands:

cd /usr/src
ls -v1 linux-2.6.*/.config

one'd expect the files to be sorted by the version in the directory
name:

linux-2.6.20/.config
linux-2.6.20.4/.config
linux-2.6.20.5/.config

but the actual output is:

linux-2.6.20.4/.config
linux-2.6.20.5/.config
linux-2.6.20/.config

i *think* this is a regression, unless it worked for me before only due
to chance.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.20.4
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

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

coreutils recommends no packages.

-- no debconf information

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.


--- End Message ---
--- Begin Message --- I think that ls is behaving as expected. -v will sort things at equivalent depths of decimal points or dashes numerically. (E.g., foo.10 will sort after foo.2 if -v is specified) But in the given case, there are fewer levels of decimals in the name that sorts last. I'm going to close this as expected for ls. If desired, it can be reopened and reassigned to libc6 (strverscmp).

Mike Stone


--- End Message ---

Reply via email to