~/

Entries from 2014-10-01 to 1 month

reduce by jq

[ { "date": "2013-10-28", "count": 8 }, { "date": "2013-10-27", "count": 22 } ] ☁ cat foo.json | jq 'reduce .[].count as $item (0; . + $item)' 30 ☁ seq 10 | jq -s 'reduce .[] as $item (0; . + $item)' 55 http://stedolan.github.io/jq/manual/…