shell 字符串加入变量

 

your_name='runoob'
str="Hello, I know you are \"$your_name\"! \n"
echo $str

 

posted @ 2018-11-30 20:59  anobscureretreat  阅读(1948)  评论(0编辑  收藏  举报