Moving Average by clock

#!ruby -lpa
a=[eval$F[-1]]+(a||[])[0,4]
$_+=" Average: %.1f"%(a.reduce(:+)/a.size)

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

download

return top