2 releases
0.1.2 | Sep 27, 2020 |
---|---|
0.1.1 | Sep 27, 2020 |
0.1.0 |
|
#3 in #mul
9KB
163 lines
mathcli
Have you ever been grapping logs, and gotten it down to a stream of numbers, and wished you could sum all those numbers? Now you can!
Alternatives are ugly: https://stackoverflow.com/questions/450799/shell-command-to-sum-integers-one-per-line
And this is simple!
$ printf '2\n3\n\n' | mathcli mul
$ 6
Install
- Install cargo: https://doc.rust-lang.org/cargo/getting-started/installation.html
cargo install mathcli
Contributing
Feel free to make a CR at https://github.com/michaelAlvarino/mathcli.
Dependencies
~1.6–8.5MB
~59K SLoC