Bash Arrays

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Indexed Arrays

External

Overview

bash indexed arrays are 0-based and unidimensional. No explicit declaration is necessary if at least one element is initialized as described below:

Declaration

Initialization

a[0]="something"

Use Cases

Associative Arrays