📜  如何制作列表 bash - Shell-Bash 代码示例

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

代码示例1
#to create an array:
$ declare -a my_array
#set number of items with spaceBar seperation:
$ my_array = (item1 item2)
#set specific index item:
$ my_array[0] = item1