找考题网-背景图
单项选择题

在shell脚本中,good是已知变量,下面哪种方法不可以实现字符串的拼接赋值?()

A.txt="I am "$good"vegetable!"
B.txt="I am ${good}vegetable!"
C.txt=’I am ’$good’vegetable!’
D.txt=’I am ${good}vegetable!’

热门试题