15 ms·
Why use a special syntax that's hard to remember when you can just use Python? I wrote a jq-like that accepts Python syntax called pq: https://github.com/dvolk
by okasaki 4y ago
Why use a special syntax that's hard to remember when you can just use Python?
I wrote a jq-like that accepts Python syntax called pq: https://github.com/dvolk/pq https://github.com/dvolk/pq
So you can write stuff like:
$ echo '{ "US": 3, "China": 12, "UK": 1 }' | pq -c "sum(data.values())"
16
- nh23423fefe 4y agoi deny the premise obviously