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: Bernhard Voelker
Subject: Re: [PATCH] Support for --size in du
Date: Sat, 19 Jan 2013 23:47:23 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130105 Thunderbird/17.0.2

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?

Have a nice day,
Berny



reply via email to

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