I'm in trouble... I'm just triying to concatenate two strings in a bash/shell script with the code below :
#!/bin/bash
a="me voilà"
b=" ici"
echo "$a$b}"
It must be return: "me voilà ici" But actually it returns : " icioilà"
I cannot understand why... by the way i'm on linux for windows..
Can someone help me ?
- Update: just using command dos2unix to convert my file before execute it ( because i'm on windows and there are DOS caracters in my file) solve the problem !
Thanks.