Y
Hacker News
new
|
ask
|
show
|
jobs
by
pklo
2135 days 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}'
1 comments
chriswarbo
2133 days ago
Yes you're right. I spotted it myself, but only after I couldn't edit anymore :(
link