I have a series piped greps, awks and seds which produce a list of numbers, one on each line. Something like this:
1.13
3.59
1.23
How can i pipe this to something which will output the average, max, and min?
|
I have a series piped greps, awks and seds which produce a list of numbers, one on each line. Something like this:
How can i pipe this to something which will output the average, max, and min?
| |||
feedback
|
|
Since you're already using awk
| |||||
feedback
|
|
I find this program useful for generating stats on lists of numbers at the command line: http://web.cs.wpi.edu/~claypool/misc/stats/stats.html | |||
|
feedback
|