spark
spark copied to clipboard
▁▂▃▅▂▇ in your shell.
I thought this might be a useful addition at least for some people. I find that I often have numbers that benefit from log transformation, and this changeset solves that...
Does it assume certain terminal or shell? Here's how the code shows when I open it using `less`: ```bash 16 # Examples: 17 # 18 # spark 1 5 22...
This small patch interprets 'x' in the input as an unknown value, showing '×' in the output: ``` $ echo 1 4 2 x 6 10 | ./spark ▁▃▁×▄█ $...
when feeding spark with numbers that have leading zeroes bash will eventually report an error when encountering numbers with 8 and 9 (e.g. 08, 09 etc) because bash automatically considers...
I love this little script! See [bpkg](https://github.com/bpkg/bpkg) for more information. We also built something more generic for drawing in the terminal. Check out [term](https://github.com/bpkg/term)