On Mon, Jan 05, 2015 at 01:14:53PM -0700, Poor Yorick wrote: > It's nice to be able to create a function like unlocal that moves > local > variables out of the way, but I'm wondering if it can be relied on in > future > versions:
Chet can give the authoritative answer about future directions, but I find it fascinating that you seem to have re-invented (part of) Freddy Vulto's upvar suite: http://www.fvue.nl/wiki/Bash:_Passing_variables_by_reference