我想在shell中连接2个字符串,我有这个小代码,我想更改变量groups
的值并将其添加:*${Team1}_${Team11}*
当前groups
包含${result}
,我应该添加它${Team1}_${Team11}
。
\"policyItems\": [ \
{ \
\"accesses\": [ \
{ \
\"isAllowed\": true, \
\"type\": \"submit-app\" \
}
], \
\"conditions\": [], \
\"delegateAdmin\": false, \
\"groups\": [ \
${result} \
], \
\"users\": [] \
} \
]
如何进行串联?