datamash[1] is a command-line program which performs basic numeric and statistical operations.
Basic Usage
seq 10 | datamash --header-out min 1 mean 1 median 1 max 1 sstdev 1 count 1
- Add two numbers:
echo -e "100\n 50" | datamash sum 1
See also
↑ https://www.gnu.org/software/datamash/