首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏全栈工程师修炼之路

    shell脚本编程之路2

    值列表法将元素添加到关联数组: array_var=( [one]=one-1 [two]=two-2 [three]=three-3 [four]=four-4 [five]=five-5 [six]=six array_var[two]=two-2 array_var[three]=three-3 array_var[four]=four-4 array_var[five]=five-5 array_var[six]=six 关联数组的打印方法跟普通数组用法一样 array_var=( [one]=one-1 [two]=two-2 [three]=three-3 [four]=four-4 [five]=five-5 [six]=six

    1.6K20编辑于 2022-09-28
领券