Spark: Shell script for converting any list of numbers into a sparkline (a small chart with no axes or coordinates)

Sparklines logo

http://zachholman.com/spark/


Example 1:

spark 0 30 55 80 33 150
▁▂▃▅▂▇

Example 2:

› curl http://earthquake.usgs.gov/earthquakes/catalogs/eqs1day-M1.txt --silent | 
  sed '1d' |
  cut -d, -f9 |
  spark
  ▅▆▂▃▂▂▂▅▂▂▅▇▂▂▂▃▆▆▆▅▃▂▂▂▁▂▂▆▁▃▂▂▂▂▃▂▆▂▂▂▁▂▂▃▂▂▃▂▂