A histogram generator.
cmake . -Bbuild
cmake --build buildhistogram [options]histogram reads integers from stdin until EOF and prints a histogram with the bar sizes corresponding to the input data.
| Option | Meaning |
|---|---|
--char <char> |
Specify the ASCII character used for printing the histogram. This option has no effect when the --pretty option is given. |
--help |
Show help message and exit. |
--layout <layout> |
Specify the layout of the bars in the histogram. <layout> can be horizontal or vertical. |
--pretty |
Pretty-print the histogram using Unicode Box Drawing Characters. This option requires a terminal with UTF-8 encoding to work properly. |
