echo '[1,2,3]' | jq 'map(select(. >= 2)//0) | add'

こう書いた方が直感的かも。

Reply to this note

Please Login to reply.

Discussion

No replies yet.