On Mon, Oct 4, 2010 at 5:10 PM, Mark Pace <[email protected]> wrote:
> Are no math functions in PIPEs?
> I want a sum total of all numbers in a column
>
> pipe < user data a | specs w 6 1 |cons
> Will display all the numbers,  I just need to add them up.

Read about the "407 Emulation" -   untested:
  | spec printonly eof a: w5 - set #0+=a eof print #0 1

And adding up numbers ain't no rocket science (lookup can do too, with
"increment"). Computing the average and standard deviation is getting
closer. Somehow I could not talk John into doing poisson distribution
(yet)

| Rob

Reply via email to