X-Git-Url: http://git.shiar.net/barcat.git/blobdiff_plain/1b44cc9300bce9f117fd135102482ff50638c650..d38e0ec883629db7a1b92f379840e7c409bf904e:/barcat diff --git a/barcat b/barcat index 319bc32..0ab19d9 100755 --- a/barcat +++ b/barcat @@ -308,7 +308,7 @@ say $opt{palette} ? color(0) : '' if $opt{spark}; sub show_stat { if ($opt{hidemin} or $opt{hidemax}) { - printf '%s of ', sum(grep { length } + printf '%.8g of ', sum(grep { length } @values[$opt{hidemin} .. ($opt{hidemax} || @lines) - 1] ) // 0; }