[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: undo local variable with unset
From: |
Greg Wooledge |
Subject: |
Re: undo local variable with unset |
Date: |
Mon, 5 Jan 2015 15:25:56 -0500 |
User-agent: |
Mutt/1.4.2.3i |
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