From: Robert Klemme Date: 2006-12-03T05:30:11+09:00 Subject: Re: [OT] calculations on lists of numbers On 02.12.2006 05:02, 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? I am by no means an expert in numerical processing but maybe bc or dc can be made to function that way. Other than that my first line of defense would probably be awk - if you want to prevent usage of Ruby. :-) Kind regards robert