bash:strings:concatenating_strings
This is an old revision of the document!
BASH - Strings - Concatenating Strings
#!/bin/bash string1="Hello" string2="World" string=$string1$string2 echo "$string is the concatenation of $string1 and $string2."
NOTE: The following program outputs the string “HelloWorld is the concatenation of Hello and World.”.
bash/strings/concatenating_strings.1610366122.txt.gz · Last modified: 2021/01/11 11:55 by peter