单项选择题
A.#{$string}B.${#string}C.${$string}D.#{#string}
在shell脚本中,good是已知变量,下面哪种方法不可以实现字符串的拼接赋值?()A.txt="I am "...
单项选择题在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!’
在shell脚本中,已知变量string=’creeper?awwwwman!’,那么echo ${strin...
单项选择题在shell脚本中,已知变量string=’creeper?awwwwman!’,那么echo ${string#*w}的结果是()。
A.wwwman!B.man!C.creeper?awwwD.creeper?a
单项选择题在shell脚本中,已知变量string=’creeper?awwwwman!’,那么echo ${string%w*}的结果是()。