Instantly share code, notes, and snippets.
brew install csvkit
❯ jq -r '["pt", "c"], (.[] | [.pt, .c]) | @csv' <<< '[ {