Linux系列:jq删除双引号的方法 -r
#带-r选项
curl 10.0.0.113:19200/_cluster/health 2>/dev/null | jq -r .cluster_name
#不带-r选项
curl 10.0.0.113:19200/_cluster/health 2>/dev/null | jq .cluster_name
#不带-r选项
echo '{"a":"nio4444","b":"nio44442"} | jq .a
"nio4444"
#带-r选项
echo '{"a":"nio4444","b":"nio44442"} | jq -r .a
nio4444