4 ms·
The second example didn't work for jq-1.6 ---I had to write it as jq -n --arg key foo --arg val bar '{($key): $val}'
by pklo 6y ago
The second example didn't work for jq-1.6 ---I had to write it as
jq -n --arg key foo --arg val bar '{($key): $val}'
- chriswarbo 6y agoYes you're right. I spotted it myself, but only after I couldn't edit anymore :(