eg. $ aws dynamodb --no-cli-pager execute-statement --statement "select * from tablename" | jq -r '.[] | "\(.user_name.S)\t\(.created_at.S)"'

ni66lingni66ling のブックマーク 2021/02/17 18:28

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

How to format a JSON string as a table using jq?

    Just started out with Bash scripting and stumbled upon jq to work with JSON. I need to transform a JSON string like below to a table for output in the terminal. [{ "name": "George", "id": 12, "emai...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう