首页
技术
登录
6mi
u
盘
搜
搜 索
技术
linux jq 命令之替换内容
linux jq 命令之替换内容
技术
2023-08-13
66
echo '{"hello":"world", "one":"two"}' | jq 'to_entries | map(if .key == "hello" then . + {"value":"WORLD"} elif .key == "one" then . + {"value":"three"} else . end ) | from_entries'
转载请注明原文地址:https://ipadbbs.8miu.com/read-43951.html
最新回复
(
0
)