bash create associative array spanning multiple lines code example
Example: bash array initialization multiple lines
#!/bin/bash
declare -a messages=(
"Hello"
"World"
)
echo "${messages[@]}"
#!/bin/bash
declare -a messages=(
"Hello"
"World"
)
echo "${messages[@]}"