mirror of
https://github.com/johnkerl/miller.git
synced 2026-01-23 18:25:45 +00:00
8 lines
110 B
Bash
8 lines
110 B
Bash
mlr put -q '
|
|
@x_count += 1;
|
|
@x_sum += $x;
|
|
end {
|
|
emit @x_count;
|
|
emit @x_sum;
|
|
}
|
|
' ../data/small
|