bug-coreutils
[Top][All Lists]
Advanced

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

Re: New sort(1) feature -- sort by length


From: Erik Auerswald
Subject: Re: New sort(1) feature -- sort by length
Date: Mon, 20 Jul 2009 22:07:03 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

Hi,

On Mon, Jul 20, 2009 at 01:54:18PM +0100, Pádraig Brady wrote:
> Ethan Baldridge wrote:
> > 
> > I'd argue on terms of obviousness: "I'm trying to sort these differently...
> > I should look at the options for sort!"
> 
> Well lots of things boil down to sorting so I think we've to be especially
> careful with adding things to `sort`. While your suggestion is useful
> and is simple to implement I'm worried that it's not needed often enough
> to allocate a sort option for it. Also it's easy enough to achieve with
> a little sed & awk around the sort even for the single field case.

IMHO the "little awk & sed" needed clearly shows the superiority of a
sort option to use the already existing key length for sorting.

Erik




reply via email to

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