Your message dated Sun, 21 Jan 2007 15:47:03 +0000 with message-id <E1H8euN-0000bQ-9j@ries.debian.org> and subject line Bug#373704: fixed in busybox 1:1.1.3-4 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-4
- From: Bastian Blank <waldi@debian.org>
- Date: Sun, 21 Jan 2007 15:47:03 +0000
- Message-id: <E1H8euN-0000bQ-9j@ries.debian.org>
Source: busybox Source-Version: 1:1.1.3-4 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-floppy-udeb_1.1.3-4_i386.udeb to pool/main/b/busybox/busybox-floppy-udeb_1.1.3-4_i386.udeb busybox-static_1.1.3-4_i386.deb to pool/main/b/busybox/busybox-static_1.1.3-4_i386.deb busybox-udeb_1.1.3-4_i386.udeb to pool/main/b/busybox/busybox-udeb_1.1.3-4_i386.udeb busybox_1.1.3-4.diff.gz to pool/main/b/busybox/busybox_1.1.3-4.diff.gz busybox_1.1.3-4.dsc to pool/main/b/busybox/busybox_1.1.3-4.dsc busybox_1.1.3-4_i386.deb to pool/main/b/busybox/busybox_1.1.3-4_i386.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: Sun, 21 Jan 2007 15:29:02 +0000 Source: busybox Binary: busybox-floppy-udeb busybox busybox-udeb busybox-static Architecture: source i386 Version: 1:1.1.3-4 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-floppy-udeb - Tiny utilities for the debian-installer floppy images (udeb) 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-4) unstable; urgency=low . * coreutils/sort.c: - Try again to fix sorting issues. Patch by Goswin Brederlow. (closes: #373704) Files: 5e9a02a1bdba93f487cad64a2d430f28 714 - optional busybox_1.1.3-4.dsc d60d3876c7ccf091018e7c23d93f2a79 20971 - optional busybox_1.1.3-4.diff.gz 8627944f9615f8c20694bbf26a62176f 286364 utils optional busybox_1.1.3-4_i386.deb 3edd24e8a0b0e4ce9ba169dfc73ca504 672274 shells optional busybox-static_1.1.3-4_i386.deb 9720bdf3ed2e990ecb78c16dce0f5c01 118904 debian-installer extra busybox-udeb_1.1.3-4_i386.udeb 06ba09270a638680d6dfe189c43c0590 45926 debian-installer extra busybox-floppy-udeb_1.1.3-4_i386.udeb Package-Type: udeb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iEYEARECAAYFAkWziHwACgkQLkAIIn9ODhHpUwCgmH5auepwAo0ZqSYOBmCs5rIT fhkAn3Vi0jfyK3lqtxF7vDvhtDeNgP50 =t0Fe -----END PGP SIGNATURE-----
--- End Message ---