X-Git-Url: http://git.shiar.net/barcat.git/blobdiff_plain/016754c22c9ea37f25857c0ded629b053de34a35..89464dc60b02c7c52a48aa101075cbc1275ee162:/barcat?ds=sidebyside diff --git a/barcat b/barcat index 0d843c1..9e78016 100755 --- a/barcat +++ b/barcat @@ -193,9 +193,8 @@ sub sival { sub show_lines { state $nr = $opt{hidemin}; -@lines and @lines > $nr or return; @lines or return; -@lines > $nr or return unless $opt{hidemin}; +@lines > $nr or return; @order = sort { $b <=> $a } @order unless tied @order; my $maxval = $opt{maxval} // ( @@ -245,8 +244,6 @@ if ($opt{markers} and $size > 0) { } } -@lines > $nr or return if $opt{hidemin}; - say( color(31), sprintf('%*s', $lenval, $minval), color(90), '-', color(36), '+',