📜  bash 数组初始化多行 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:50.238000             🧑  作者: Mango

代码示例1
#!/bin/bash

declare -a messages=(
    "Hello"
    "World"
)

echo "${messages[@]}"