Moving Average by Fleur (nn)

s+=(a[NR]=$2)-a[NR-5]{OFMT=$0" Average: %.1f"}$0=s/(i+=i<5)

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page