GNU bug report logs - #20745
sort: add options to sort by IPv4/IPv6

Previous Next

Package: coreutils;

Reported by: "Silverman, Jeffrey X. -ND" <Jeffrey.X.Silverman.-ND <at> disney.com>

Date: Fri, 5 Jun 2015 17:32:01 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: "Silverman, Jeffrey X. -ND" <Jeffrey.X.Silverman.-ND <at> disney.com>
To: 20745 <at> debbugs.gnu.org
Subject: bug#20745: I would like to make a request for the sort command
Date: Fri, 5 Jun 2015 17:13:21 +0000
[Message part 1 (text/plain, inline)]
People,

I realize that the sort command must be on the order of 40 years old and is "mature" software, but I would like to make a request for enhancement anyway.  I would like the capability of adding 2 data types that can be sorted: IPv4 addresses and IPv6 addresses.  To do that, the addresses should be converted to integers of length 32 bits and 128 bits and then sorted. I'm not sure that 128 bit integers is portable, but converting to a 32 bit string with no missing zeros would suffice.


If this is something that interests you, then I think I could write a preprocessor in python as a proof of concept.


Sincerely yours,


Jeff Silverman
You may also reach me at jeffsilverm <at> gmail.com

[Message part 2 (text/html, inline)]

This bug report was last modified 6 years and 243 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.