« Stylin’ | Main | close(2) vs. full filesystems »

mathu - performs mathematical operations on input data

Wrote mathu a while back, when could not find a good (free) command line tool to perform quick calculations, such as:

$ cat input 7 4 2 5 $ mathu sum < input 18 $ mathu basic < input count 4 max 7 mean 4.5 min 2 sdev 1.8 sum 18

An updated tool could perhaps use Statistics::Basic or other module on CPAN to handle the heavy math lifting.

Technorati Tags: