coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] Support for --size in du


From: Pádraig Brady
Subject: Re: [PATCH] Support for --size in du
Date: Sun, 20 Jan 2013 10:55:00 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1

On 01/19/2013 10:47 PM, Bernhard Voelker wrote:
On 01/17/2013 03:58 PM, Pádraig Brady wrote:
I Just noticed another option from BSD:

-t threshold
       Display only entries for which size exceeds threshold.  If
       threshold is negative, display only entries for which size is
       less than the absolute value of threshold.

I slightly prefer --min-size and --max-size,
though not at the expense of losing the opportunity
to increase compat between these tools.

I suppose we could rename --size to --threshold too.

It seems there are many ways - like always. ;-)

I think --min-size/--max-size has a functional plus over one
single new option. But increasing compatibility to BSD is tempting.

If I'd be asked to decide between --size and --threshold then
the latter is the winner: a) BSD compat, b) the abbreviation
of the option better fits into the already existing ones,
see --size vs. --si, while --th is (currently) fine.

I'll change the patch towards --threshold then. WDYT?

+1

I don't think adding extra --{min,max}-size options are worth it.

thanks,
Pádraig.



reply via email to

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