Your message dated Thu, 29 Jun 2006 13:32:09 -0700 with message-id <E1Fw3BJ-0003Rk-S0@spohr.debian.org> and subject line Bug#373704: fixed in busybox 1:1.1.3-2 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 ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: sort -k does not count fields the same as gnu sort
- From: Joey Hess <joeyh@debian.org>
- Date: Thu, 15 Jun 2006 03:03:15 -0400
- Message-id: <[🔎] 20060615070315.GA1126@kitenet.net>
Package: busybox Version: 1:1.1.3-1 Severity: normal Tags: d-i joey@kodama:~>cat foo /usr/lib/finish-install.d/1 /usr/lib/prebaseconfig.d/2 /usr/lib/finish-install.d/4 /usr/lib/prebaseconfig.d/6 joey@kodama:~>for n in 3 4 5; do echo busybox $n; busybox sort -n -k$n -t/ foo; echo gnu $n; sort -n -k$n -t/ foo;done busybox 3 /usr/lib/finish-install.d/1 /usr/lib/finish-install.d/4 /usr/lib/prebaseconfig.d/2 /usr/lib/prebaseconfig.d/6 gnu 3 /usr/lib/finish-install.d/1 /usr/lib/finish-install.d/4 /usr/lib/prebaseconfig.d/2 /usr/lib/prebaseconfig.d/6 busybox 4 /usr/lib/finish-install.d/1 /usr/lib/prebaseconfig.d/2 /usr/lib/finish-install.d/4 /usr/lib/prebaseconfig.d/6 gnu 4 /usr/lib/finish-install.d/1 /usr/lib/finish-install.d/4 /usr/lib/prebaseconfig.d/2 /usr/lib/prebaseconfig.d/6 busybox 5 /usr/lib/finish-install.d/1 /usr/lib/finish-install.d/4 /usr/lib/prebaseconfig.d/2 /usr/lib/prebaseconfig.d/6 gnu 5 /usr/lib/finish-install.d/1 /usr/lib/prebaseconfig.d/2 /usr/lib/finish-install.d/4 /usr/lib/prebaseconfig.d/6 So, busybox sorts them numerically at field 4, while gnu does at field 5. I think gnu must count field 1 as the zero-width field before the first delimeter in this case. If the lines don't start with the delimiter, gnu and busybox both behave the same: busybox 4 root/usr/lib/finish-install.d/1 root/usr/lib/finish-install.d/4 root/usr/lib/prebaseconfig.d/2 root/usr/lib/prebaseconfig.d/6 gnu 4 root/usr/lib/finish-install.d/1 root/usr/lib/finish-install.d/4 root/usr/lib/prebaseconfig.d/2 root/usr/lib/prebaseconfig.d/6 busybox 5 root/usr/lib/finish-install.d/1 root/usr/lib/prebaseconfig.d/2 root/usr/lib/finish-install.d/4 root/usr/lib/prebaseconfig.d/6 gnu 5 root/usr/lib/finish-install.d/1 root/usr/lib/prebaseconfig.d/2 root/usr/lib/finish-install.d/4 root/usr/lib/prebaseconfig.d/6 -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16-2-686 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages busybox depends on: ii libc6 2.3.6-15 GNU C Library: Shared libraries busybox recommends no packages. -- no debconf information -- see shy joAttachment: signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
- To: 373704-close@bugs.debian.org
- Subject: Bug#373704: fixed in busybox 1:1.1.3-2
- From: Bastian Blank <waldi@debian.org>
- Date: Thu, 29 Jun 2006 13:32:09 -0700
- Message-id: <E1Fw3BJ-0003Rk-S0@spohr.debian.org>
Source: busybox Source-Version: 1:1.1.3-2 We believe that the bug you reported is fixed in the latest version of busybox, which is due to be installed in the Debian FTP archive: busybox-static_1.1.3-2_amd64.deb to pool/main/b/busybox/busybox-static_1.1.3-2_amd64.deb busybox-udeb_1.1.3-2_amd64.udeb to pool/main/b/busybox/busybox-udeb_1.1.3-2_amd64.udeb busybox_1.1.3-2.diff.gz to pool/main/b/busybox/busybox_1.1.3-2.diff.gz busybox_1.1.3-2.dsc to pool/main/b/busybox/busybox_1.1.3-2.dsc busybox_1.1.3-2_amd64.deb to pool/main/b/busybox/busybox_1.1.3-2_amd64.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 373704@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Bastian Blank <waldi@debian.org> (supplier of updated busybox package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Thu, 29 Jun 2006 19:36:19 +0000 Source: busybox Binary: busybox-floppy-udeb busybox busybox-udeb busybox-static Architecture: source amd64 Version: 1:1.1.3-2 Distribution: unstable Urgency: low Maintainer: Debian Install System Team <debian-boot@lists.debian.org> Changed-By: Bastian Blank <waldi@debian.org> Description: busybox - Tiny utilities for small and embedded systems busybox-static - Standalone rescue shell with tons of builtin utilities busybox-udeb - Tiny utilities for the debian-installer (udeb) Closes: 373704 Changes: busybox (1:1.1.3-2) unstable; urgency=low . * coreutils/sort.c: - Fix sorting of input which begins with the seperator. (closes: #373704) Files: 2b31bc93591781fe140638a2539ea97b 692 - optional busybox_1.1.3-2.dsc 43a5446992bd80862476c05135ab95c9 19247 - optional busybox_1.1.3-2.diff.gz d1464e31b449649b1309caa44cc19dea 325562 utils optional busybox_1.1.3-2_amd64.deb 80e2c8b32a336de1ac4449c828b93d81 914814 shells optional busybox-static_1.1.3-2_amd64.deb b3c4e3cdb3cdff5ee99d6341c5788453 139936 debian-installer extra busybox-udeb_1.1.3-2_amd64.udeb Package-Type: udeb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iEYEARECAAYFAkSkMAwACgkQLkAIIn9ODhGVZACg0dexr1ZzOBfz0sNYaowQK5VV i5kAnjFbFcNvlMGafUIk9wrKr0Njs15u =S0ce -----END PGP SIGNATURE-----
--- End Message ---