holman / spark

▁▂▃▅▂▇ in your shell.

Home Page:http://zachholman.com/spark/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spark does not handle negative numbers correctly

Flimm opened this issue · comments

I have a sequence of numbers, which includes some negative numbers, but spark doesn't handle them correctly:

$ echo 5 0 10 -20 | spark
▆▅█▁

I'm not sure if there is a good way to draw this using Unicode characters. But in that case, I would expect spark to display an error.