Sometimes , we may want to concantenate two string into one string.

It is simple in Shell programming , the example is as below:

 

a=string1_

b=string2

c=$a$b

echo c

 

then we can get c is equal to string1_string2.

文章標籤
全站熱搜
創作者介紹
創作者 JerryCheng 的頭像
JerryCheng

KwCheng's blog

JerryCheng 發表在 痞客邦 留言(0) 人氣(16)