POSIX sh doesn't have these, but BASH actually does have arrays, and even dicts (see https://stackoverflow.com/questions/688849/associative-array...)
Or you could just learn Perl...
Or if you're just stringing commands together, traditional simpler Posix sh (note: 'bash --posix' isn't).
POSIX sh doesn't have these, but BASH actually does have arrays, and even dicts (see https://stackoverflow.com/questions/688849/associative-array...)