字符串相加

似乎直接加就可以

#!/bin/sh 
str1="asdfasdf" 
str2="123"
str3=$str1$str2 
echo   $str3

参考:

shell中,可以字符串相加吗?_jfkidear的博客-CSDN博客_shell 字符串相加

posted on 2023-01-12 14:43  影子BLH  阅读(55)  评论(0)    收藏  举报