shell script array 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[@]}"