On Sat, 2 Dec 2006, Matthew Moss wrote: >> cat list | mean > > cat list | awk '{ s += $1; n += 1 } END { print s / n }' > >> cat list | sum > > cat list | awk '{ s += $1 } END { print s }' > >> cat list | minmax > > Hmmm..... need to study some more awk. yup. that's where i broke into ruby too ;-) -a -- if you want others to be happy, practice compassion. if you want to be happy, practice compassion. -- the dalai lama