最後更新: 2023-11-21
目錄
- 定義 Array (Explicit / Indirect)
- Access element in array
- * 與 @
- Basic Usage
- Iterate through an array
- Array as command Args
Bash 的 Array
Bash 支援以下兩種 Array
- One-dimensional indexed(integers) array
- Associative array
Array 的限制:
- No maximum limit on the size of an array
- No requirement that members be indexed or assigned contiguously