|
From: | Likai Liu |
Subject: | Re: [PATCH] Support for --size in du |
Date: | Sat, 19 Jan 2013 19:56:55 -0500 |
On 01/17/2013 03:58 PM, Pádraig Brady wrote:It seems there are many ways - like always. ;-)
> 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.
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
[Prev in Thread] | Current Thread | [Next in Thread] |