[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
[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
請先 登入 以發表留言。