X-Git-Url: http://git.shiar.nl/barcat.git/blobdiff_plain/c00a5ddbcd6a9a65c117749b22e50866c624a8d8..d8b39354274df81e282e32af4ea41b8e34063c1d:/barcat diff --git a/barcat b/barcat index 9e4d0ae..1bcda80 100755 --- a/barcat +++ b/barcat @@ -47,7 +47,7 @@ GetOptions(\%opt, $opt{'graph-format'} = substr $_[1], 0, 1; }, 'spark:s' => sub { - $opt{spark} = [split //, $_[1] || '⎽▁▂▃▄▅▆▇█']; + $opt{spark} = [split //, $_[1] || '▁▂▃▄▅▆▇█']; }, 'stat|s!', 'signal-stat=s', @@ -356,6 +356,18 @@ or 68% of all entries. =back +=item --spark[=] + +Replace lines by I, +single characters corresponding to input values. +A specified sequence of unicode characters will be used for +Of a specified sequence of unicode characters, +the first one will be used for non-values, +the last one for the maximum, +the second (if any) for the minimum, +and any remaining will be distributed over the range of values. +Unspecified, block fill glyphs U+2581-2588 will be used. + =item -s, --stat Total statistics after all data.