shell中拼凑字符串

shell中拼接字符串
本帖最后由 hanzhaoshuai 于 2013-06-04 09:41:33 编辑

name=`echo $line | awk -F ":" '{print $2}'`
email=`echo $line | awk -F ":" '{print $2}'`
other=",,,,,,,,,,,,,"
total=${name}${email}${other}
为什么显示total结果 不是字符串的拼接结果

shell中拼凑字符串
新手求解,,

------解决方案--------------------
在下试过了,没有问题,是拼接的结果