#!ruby -p gsub(/ /){([p,(1..9).map{|i|(a=$`.split.pop.to_f)-i*(a-$'.to_f)*0.1},p]*$&).gsub(/\.?0+ /,$&)}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page