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

8 lines
110 B
Bash

mlr put -q '
@x_count += 1;
@x_sum += $x;
end {
emit @x_count;
emit @x_sum;
}
' ../data/small