On 10/10/17 9:06 AM, Dan Douglas wrote: > Bash parses the array assignment as though it were valid while reading > words, assignments, and redirects of the command.
Because at the time the parser reads the assignment, it has to assume that it's a candidate for compound assignment. It's only when it reads a non-assignment word that it becomes a temporary assignment preceding a simple command. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/