miller/docs/data/begin-end-example-1.sh
2020-09-27 11:29:50 -04:00

5 lines
86 B
Bash

mlr put '
begin { @sum = 0 };
@x_sum += $x;
end { emit @x_sum }
' ../data/small