On 5/17/16 8:33 PM, Grisha Levit wrote: > |$ var=foo; declare -n ref=var[0] $ readonly ref $ declare -p var declare > -ar var | > > works even with readonly variables:
Thanks for the report.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/
