mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-20 18:10:07 +00:00
7 lines
123 B
Bash
7 lines
123 B
Bash
mlr put -q '
|
|
@v[$a][$b]["x_sum"] += 1;
|
|
@v[$a][$b]["x_count"] += $x;
|
|
end {
|
|
emit @v, "a", "b";
|
|
}
|
|
' ../data/small
|