Answer the question
In order to leave comments, you need to log in
How to do string concatenation in the FreeBSD shell?
There is a file 1.sh, it contains 3 variables
A="test12345"
B="test09876"
C=
echo $C
test12345_test09876
? C="$A_$B"
Answer the question
In order to leave comments, you need to log in
All figured out. I opened the file on the server through "ee", and there ^M was added to each line at the end, this was a jamb. Sorry lamer.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question