Internal option --hidemin or by negative -L instead of maximum.
$opt{trim} = $optval;
},
'value-length=i',
$opt{trim} = $optval;
},
'value-length=i',
+ 'hidemin=i',
+ 'hidemax|limit|L=i' => sub {
+ $opt{$_[1] < 0 ? 'hidemin' : 'hidemax'} = abs $_[1];
+ },
'markers|m=s',
'unmodified|u!',
'width|w=i',
'markers|m=s',
'unmodified|u!',
'width|w=i',
+state $nr = $opt{hidemin} ? $opt{hidemin} - 1 : 0;
@lines and @lines > $nr or return;
my @order = sort { $b <=> $a } grep { length } @values;
@lines and @lines > $nr or return;
my @order = sort { $b <=> $a } grep { length } @values;
Prepend a dash (i.e. make negative) to enforce padding
regardless of encountered contents.
Prepend a dash (i.e. make negative) to enforce padding
regardless of encountered contents.
-=item -L, --limit=<count>
+=item -L, --limit=[-]<count>
Stop output after a number of lines.
All input is still counted and analyzed for statistics,
Stop output after a number of lines.
All input is still counted and analyzed for statistics,