Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

concat strings inside array bash script

List="A B C D"
for I in $List
do
    OUT=${OUT:+$OUT }-$I
done
Source by superuser.com #
 
PREVIOUS NEXT
Tagged: #concat #strings #array #bash #script
ADD COMMENT
Topic
Name
2+9 =