mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-19 01:15:21 +00:00
6 lines
90 B
Bash
6 lines
90 B
Bash
mlr --opprint put -q '
|
|
@x_sum[$b] += $x;
|
|
end {
|
|
emit @x_sum, "b"
|
|
}
|
|
' data/medium
|