Korn Shell: Unix and Linux Programming Manual, Third Edition, The By Anatole Olczak
Table of Contents
Appendix E. Korn Shell Man Page
One or more variable assignments can start a simple command or can be arguments to the typeset, export, or readonly special built-in commands. The syntax for an assignment is of the form:
varname=word
varname[word]=word
No space is permitted between varname and the = or between = and word.
varname =(assign_list)
No space is permitted between varname and the =. An assign_list can be one of the following:
word ...
Indexed array assignment.
[word]=word. . .
Associative array assignment.
assignment . . .
Nested variable assignment.
typeset [options]assignment. . .
Nested variable assignment. Multiple assignments can be specified by separating each of them with a ;.