spark
Synopsis
Section titled “Synopsis”spark [--min=<n>] [--max=<n>] [numbers...]Description
Section titled “Description”Renders a Unicode sparkline bar chart for a sequence of numbers. Reads numbers from arguments or from stdin if none are provided. Optional --min and --max clamp the scale range.
Arguments
Section titled “Arguments”--min=<n> |
Minimum value for scale (default: list minimum) |
--max=<n> |
Maximum value for scale (default: list maximum) |
numbers... |
Space-separated numbers to chart; reads stdin if omitted |
-v, --version |
Print version |
-h, --help |
Show usage help |
Example
Section titled “Example”spark 1 1 2 5 14 42seq 64 | sort --random-sort | sparkecho "3 7 2 9 1" | spark