X-Git-Url: http://git.shiar.nl/barcat.git/blobdiff_plain/e80d9d3878bb64f7c165c0904bd5513b43faf55f..f836434708d146fae6e9d10c3d51d0640c06b414:/barcat diff --git a/barcat b/barcat index fb5c1ab..426053e 100755 --- a/barcat +++ b/barcat @@ -116,7 +116,7 @@ $opt{trim} *= $opt{width} / 100 if $opt{trimpct}; $opt{units} = [split //, ' kMGTPEZYyzafpn'.($opt{ascii} ? 'u' : 'μ').'m'] if $opt{'human-readable'}; $opt{anchor} //= qr/\A/; -$opt{'value-length'} = 6 if $opt{units}; +$opt{'value-length'} = 4 if $opt{units}; $opt{'value-length'} = 1 if $opt{unmodified}; $opt{'signal-stat'} //= exists $SIG{INFO} ? 'INFO' : 'QUIT'; $opt{markers} //= '=avg >31.73v <68.27v +50v |0';