I wonder if something like bc could do something along those lines.   
The biggest problem is that you have to assume a lot of information  
about the format of the list.

When you get something implemented, I'd be interested in seeing it.

-Chris

On Dec 1, 2006, at 9:02 PM, ara.t.howard / noaa.gov wrote:

>
> for years i've felt that i should be able to pipe numerical output  
> into some
> unix command like so
>
>   cat list | mean
>   cat list | sum
>   cat list | minmax
>
> etc.
>
> and have never found one.  right now i'm building a ruby version -  
> before i
> continue, does anyone know a standard unix or ruby version of this?
>
> cheers.
>
> -a
> -- 
> if you want others to be happy, practice compassion.
> if you want to be happy, practice compassion.  -- the dalai lama