bug#20745: I would like to make a request for the sort command

2015-06-08 Thread Pádraig Brady
On 08/06/15 10:51, Stephane Chazelas wrote: > 2015-06-08 11:16:37 +0200, Erik Auerswald: > [...] >> FWIW I use 'sort' to sort IPv4 addresses in my ping_scan[1] script. >> >> The info documentation for sort provides another example, log files >> sorted by IP address and time stamp. That specific exa

bug#20745: I would like to make a request for the sort command

2015-06-08 Thread Stephane Chazelas
2015-06-08 08:14:20 -0600, Eric Blake: > On 06/08/2015 05:14 AM, Stephane Chazelas wrote: > > > Maybe there's a way to allow that without having to implement > > the specifics in sort. > > > > Like sort key flags to invoke commands: > > > >sort '-k1,1|ip2hex' '-k2,2n|roman2int' '-k3,3|iconv

bug#20745: I would like to make a request for the sort command

2015-06-08 Thread Eric Blake
On 06/08/2015 05:14 AM, Stephane Chazelas wrote: > Maybe there's a way to allow that without having to implement > the specifics in sort. > > Like sort key flags to invoke commands: > >sort '-k1,1|ip2hex' '-k2,2n|roman2int' '-k3,3|iconv -t us//TRANSLIT' That would result in a LOT of process

bug#20745: I would like to make a request for the sort command

2015-06-08 Thread Stephane Chazelas
2015-06-08 11:16:37 +0200, Erik Auerswald: [...] > FWIW I use 'sort' to sort IPv4 addresses in my ping_scan[1] script. > > The info documentation for sort provides another example, log files > sorted by IP address and time stamp. That specific example even needs > two runs of sort, because sort la

bug#20745: I would like to make a request for the sort command

2015-06-08 Thread Stephane Chazelas
2015-06-08 12:43:32 +0200, Erik Auerswald: [...] > > I'm not even sure having a tool just for that specific task > > would make sense though. Here, it sounds more like a job for a > > high level language like perl/python... (what if I want to sort > > on roman numerals now, week day names, astrolog

bug#20745: I would like to make a request for the sort command

2015-06-08 Thread Erik Auerswald
Hi, On Mon, Jun 08, 2015 at 10:51:59AM +0100, Stephane Chazelas wrote: > 2015-06-08 11:16:37 +0200, Erik Auerswald: > [...] > > FWIW I use 'sort' to sort IPv4 addresses in my ping_scan[1] script. > > > > The info documentation for sort provides another example, log files > > sorted by IP address

bug#20745: I would like to make a request for the sort command

2015-06-08 Thread Stephane Chazelas
2015-06-08 11:16:37 +0200, Erik Auerswald: [...] > FWIW I use 'sort' to sort IPv4 addresses in my ping_scan[1] script. > > The info documentation for sort provides another example, log files > sorted by IP address and time stamp. That specific example even needs > two runs of sort, because sort la

bug#20745: I would like to make a request for the sort command

2015-06-08 Thread Erik Auerswald
Hi, On Fri, Jun 05, 2015 at 01:57:33PM -0600, Eric Blake wrote: > On 06/05/2015 01:35 PM, Silverman, Jeffrey X. -ND wrote: > > >> This was previously discussed, and while has merit > >> at the time it was thought not important enough to add: > >> > >> http://www.gnu.org/software/coreutils/reject

bug#20745: I would like to make a request for the sort command

2015-06-05 Thread Eric Blake
On 06/05/2015 01:35 PM, Silverman, Jeffrey X. -ND wrote: >> This was previously discussed, and while has merit >> at the time it was thought not important enough to add: >> >> http://www.gnu.org/software/coreutils/rejected_requests.html >>http://lists.gnu.org/archive/html/coreutils/2011-06/msg

bug#20745: I would like to make a request for the sort command

2015-06-05 Thread Silverman, Jeffrey X. -ND
On 6/5/15, 10:58 AM, "Pádraig Brady" wrote: >On 05/06/15 18:13, Silverman, Jeffrey X. -ND wrote: >> 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 capa

bug#20745: I would like to make a request for the sort command

2015-06-05 Thread Pádraig Brady
On 05/06/15 18:13, Silverman, Jeffrey X. -ND wrote: > 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:

bug#20745: I would like to make a request for the sort command

2015-06-05 Thread Silverman, Jeffrey X. -ND
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