[root@192 ~]# cat ./test
#! /bin/bash
A="a b c d"
B="c d e f"
C=${A}"---"${B}
echo "$C"

 

輸出結果:
[root@192 ~]# ./test
a b c d---c d e f
 

arrow
arrow

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