DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
How to concatenate string variables in Bash
Bash also supports a += operator as shown in this code: A="X Y" A+=" Z" echo "$A" output X Y Z
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#How
#concatenate
#string
#variables
#Bash
ADD COMMENT
Topic
COMMENT
Name
6+3 =
Submit