Average
From SusoSight
Average is a program that is part of the num-utils set of utilities for the Linux/Un*x.
It finds the average of a set of numbers passed to it on stdin.
Options
-i Only return the integer portion of the final sum.
-I Only return the decimal portion of the final sum
-m Find the mode (most occuring) of the list of numbers.
-M Find the median (middle number) of the list of numbers.
-l When finding the median and the count of numbers in the set is even,
use the lower middle number instead of the upper middle number.
-h Help: You're looking at it.
-V Increase verbosity.
-d Debug mode. For developers