bash multi line array 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[@]}"