mlr --from test/input/s.dkvp put -q 'begin{@sum=0} @sum += $x; end{dump}'
