On 1/22/19 3:32 PM, Robert White wrote: > Howdy, > > The following cannot work because, for some reason, the array subscript > parser insists on doing math on array indices even when the array is > associative instead of numeric > > typeset -A UUID_TABLE > ... > UUID_TABLE+=( [${SOME_UUID}]=${SOME_VALUE} ) > ... > some_command ${UUID_TABLE[${SOME_UUID}]} > > The parser and evaluator insist on doing math on ${SOME_UUID} no matter how > its quoted or whatever. This seems extremely wrong.
Do you have some sample UUID data to test this with? -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/