{"blog_url":"https://banyan.hateblo.jp/","title":"reduce by jq","categories":[],"description":"[ { \"date\": \"2013-10-28\", \"count\": 8 }, { \"date\": \"2013-10-27\", \"count\": 22 } ] \u2601 cat foo.json | jq 'reduce .[].count as $item (0; . + $item)' 30 \u2601 seq 10 | jq -s 'reduce .[] as $item (0; . + $item)' 55 http://stedolan.github.io/jq/manual/#Reduce","author_name":"bannyan","url":"https://banyan.hateblo.jp/entry/2014/10/28/014615","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbanyan.hateblo.jp%2Fentry%2F2014%2F10%2F28%2F014615\" title=\"reduce by jq - ~/\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/bannyan/","published":"2014-10-28 01:46:15","image_url":null,"width":"100%","type":"rich","version":"1.0","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","height":"190","blog_title":"~/"}