On 2/19/20 4:03 PM, Arfrever Frehtes Taifersar Arahesis wrote: > ${!variable@operator} does not work for variables without values. > See empty values for all occurrences of ${!var@...} below.
I think you already realized that your test for this case was flawed. For instance, given var=VAR2 operator=Q eval "echo \"'\${!${var}@${operator}}'\"" you end up expanding ${!VAR2@Q}. -- ``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/