Groups | Search | Server Info | Login | Register
| From | Janis Papanagnou <janis_papanagnou@hotmail.com> |
|---|---|
| Newsgroups | comp.lang.awk |
| Subject | Re: gnuplot algorithm help |
| Date | 2011-04-11 12:06 +0200 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <inujrn$6dp$1@speranza.aioe.org> (permalink) |
| References | <4da27014$0$669$c3e8da3$b280bf18@news.astraweb.com> <inue7l$oa7$1@speranza.aioe.org> |
Am 11.04.2011 10:30, schrieb Janis Papanagnou:
>
Or rather...?
> /^#/ { next }
> $1 < s { f2 += $2 }
$1 < s { $2 += f2 }
> s && $1 >= s { print f1, f2, f3 }
> { f1 = $1; f2 = $2; f3 = $3; s = $1 + $3 }
> END { print f1, f2, f3 }
Janis
Back to comp.lang.awk | Previous | Next — Previous in thread | Next in thread | Find similar
gnuplot algorithm help Mike Rhodes <M8R-1cd059@mailinator.com> - 2011-04-10 23:05 -0400
Re: gnuplot algorithm help Janis Papanagnou <janis_papanagnou@hotmail.com> - 2011-04-11 10:30 +0200
Re: gnuplot algorithm help Janis Papanagnou <janis_papanagnou@hotmail.com> - 2011-04-11 12:06 +0200
Re: gnuplot algorithm help Mike Rhodes <M8R-1cd059@mailinator.com> - 2011-04-11 06:11 -0400
Re: gnuplot algorithm help Janis Papanagnou <janis_papanagnou@hotmail.com> - 2011-04-11 14:40 +0200
Re: gnuplot algorithm help Mike Rhodes <M8R-1cd059@mailinator.com> - 2011-04-11 12:29 -0400
Re: gnuplot algorithm help Janis Papanagnou <janis_papanagnou@hotmail.com> - 2011-04-11 19:51 +0200
Re: gnuplot algorithm help Mike Rhodes <M8R-1cd059@mailinator.com> - 2011-04-11 19:42 -0400
csiph-web