Debian Bug report logs - #400467
coreutils: support IP address sorting

version graph

Package: coreutils; Maintainer for coreutils is Michael Stone <[email protected]>; Source for coreutils is src:coreutils (PTS, buildd, popcon).

Reported by: Norbert Kiesel <[email protected]>

Date: Sun, 26 Nov 2006 13:48:07 UTC

Severity: wishlist

Found in version coreutils/5.97-5.2

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Michael Stone <[email protected]>:
Bug#400467; Package coreutils. (full text, mbox, link).


Acknowledgement sent to Norbert Kiesel <[email protected]>:
New Bug report received and forwarded. Copy sent to Michael Stone <[email protected]>. (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Norbert Kiesel <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: coreutils: support IP address sorting
Date: Sun, 26 Nov 2006 05:15:57 -0800
Package: coreutils
Version: 5.97-5.2
Severity: wishlist

Hi,
I would really like to have an option to sort by IP address (IPv4 and
IPv6).  The existing solutions (e.g. "-t. -n -k1,1 -k2,2 -k3,3 -k4,4")
are not really usable if the IP address is not the first field and are
also very clumbsy.  Sorting by date would be nice too, but is more
complicated due to whitespace in dates.

If I write a patch, should I submit it to you or to upstream?

Best,
  Norbert

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18.2
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

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

coreutils recommends no packages.

-- no debconf information



Information forwarded to [email protected], Michael Stone <[email protected]>:
Bug#400467; Package coreutils. (full text, mbox, link).


Acknowledgement sent to Norbert Kiesel <[email protected]>:
Extra info received and forwarded to list. Copy sent to Michael Stone <[email protected]>. (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Norbert Kiesel <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: coreutils: working but still incomplete patch
Date: Sun, 26 Nov 2006 10:52:50 -0800
[Message part 1 (text/plain, inline)]
Package: coreutils
Version: 5.97-5.2
Followup-For: Bug #400467

Hi,
here is a ptahc that does implement IP address sorting.  It currently
only does IPv4 (though adding IPv6 would not be complicated).  What's
still missing is documentation and possibly configure checks for
inet_pton and ntohl.  Any chance something like this could be added?

Best,
  Norbert

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18.2
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

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

coreutils recommends no packages.

-- no debconf information
[coreutils-5.97-sort.c-patch (text/x-c, attachment)]

Information forwarded to [email protected]:
Bug#400467; Package coreutils. (full text, mbox, link).


Acknowledgement sent to Michael Stone <[email protected]>:
Extra info received and forwarded to list. (full text, mbox, link).


Message #15 received at [email protected] (full text, mbox, reply):

From: Michael Stone <[email protected]>
To: Norbert Kiesel <[email protected]>, [email protected]
Subject: Re: Bug#400467: coreutils: support IP address sorting
Date: Sun, 26 Nov 2006 18:03:29 -0500
On Sun, Nov 26, 2006 at 05:15:57AM -0800, Norbert Kiesel wrote:
>If I write a patch, should I submit it to you or to upstream?

Upstream. There's zero chance of that going in as a debian-specific 
patch.

Mike Stone



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 08:57:06 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.