I want append to a string so that every time I loop over it will add say \"test\" to the string.
Like in PHP you would do:
$teststr = \"test1\\n\" $t
#!/bin/bash msg1=${1} #First Parameter msg2=${2} #Second Parameter concatString=$msg1"$msg2" #Concatenated String concatString2="$msg1$msg2" echo $concatString echo $concatString2