Home > OS >  A shell script string assignment problem
A shell script string assignment problem

Time:12-30

A="stra
"B="STRB
"C="STRC"
Echo "@" $a "_" $b $c
# underscores, and have shown the @ symbol

D=$a "_" $" @ "$c b

Echo $d
# the underline is replaced and the @ symbol displayed as blank

Q 1: why?
2 how to make d underlined and the @ symbol
  • Related