--On Thursday, November 09, 2006 12:32:15 +0100 Borislav Tomov wrote:
Example results:
one
+ne
+two
The number 2: two
+ twos one
Example result:
for line XX which is the last +1 line of the script, the
following message is displayed
script_path: line XX: syntax error: unexpe
I am observing that string concatenation in bash 3.2.3(5), as well as in
3.1.17 (not exactly sure, the one that comes with the distribution),
overwrites the first string variable during concatenation:
Example code:
string1="one"
string2="two"
echo $string1
echo "$string1+"
echo "$string1+$stri
2 matches
Mail list logo