bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Passing variables by reference conflicts with local


From: Chet Ramey
Subject: Re: Passing variables by reference conflicts with local
Date: Tue, 01 May 2012 08:43:03 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20120327 Thunderbird/11.0.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 4/30/12 5:24 AM, Dan Douglas wrote:
> On Monday, April 23, 2012 04:56:09 PM Clark Wang wrote:
>> On Wed, May 5, 2010 at 01:57, Freddy Vulto <address@hidden> wrote:
>>> It appears that `unset' is capable of traversing down the call-stack and
>>> ...
> 
> I reverse engineered most of this behavior a few months ago and wrote a 
> detailed explaination and example here:
> 
> http://wiki.bash-hackers.org/commands/builtin/unset#scope
> 
> Hopefully most of that is correct.

This is pretty much right on.  It's a nice piece of deduction.

Chet

- -- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+f2lcACgkQu1hp8GTqdKuj1wCfWIueDj9uVd/gokS8xEKuTRxJ
iToAn30d8ByDafMoiaZLBCGYh7+WchnN
=2222
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]