[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feature Request for 'sort' utility

From: Eric Blake
Subject: Re: Feature Request for 'sort' utility
Date: Mon, 27 Jun 2011 06:53:36 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10

On 06/26/2011 06:05 PM, Bob Proulx wrote:
> scott n-h wrote:
>> -I or --ip-address
>> I'm hoping the usefulness of this would be apparent.
> The coreutils manual:
> Shows an example of sorting IPv4 addresses this way:
>   sort -s -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n

However, there's no easy way to sort IPv6 addresses using existing sort
keys, so maybe there is indeed room for improvement, if someone would
care to contribute code.

Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]