[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unset array doesn't work
From: |
Chet Ramey |
Subject: |
Re: Unset array doesn't work |
Date: |
Tue, 27 Feb 2018 11:23:18 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
On 2/26/18 11:34 AM, Robert Elz wrote:
> I believe that most shells that implement local (which is most shells)
> implement unset of a local as meaning the local var becomes unset,
> not that it vanishes and the global reappears.
That was the objection: that unset in a function unset the local instance
of the variable, and left the global instance in place.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
- Re: Unset array doesn't work, (continued)
- Re: Unset array doesn't work, Robert Elz, 2018/02/26
- Re: Unset array doesn't work, Clint Hepner, 2018/02/26
- Re: Unset array doesn't work, Greg Wooledge, 2018/02/26
- Re: Unset array doesn't work, Clark Wang, 2018/02/26
- Re: Unset array doesn't work, Robert Elz, 2018/02/26
- Re: Unset array doesn't work, Chet Ramey, 2018/02/27
- Re: Unset array doesn't work, Robert Elz, 2018/02/26
- Re: Unset array doesn't work,
Chet Ramey <=
- Re: Unset array doesn't work, Chet Ramey, 2018/02/27
- Re: Unset array doesn't work, Chet Ramey, 2018/02/27
- Re: Unset array doesn't work, Robert Elz, 2018/02/27
- Re: Unset array doesn't work, Chet Ramey, 2018/02/28
- Re: Unset array doesn't work, Robert Elz, 2018/02/28
- Re: Unset array doesn't work, Greg Wooledge, 2018/02/28
- Re: Unset array doesn't work, Chet Ramey, 2018/02/28
- Re: Unset array doesn't work, don fong, 2018/02/28
- Re: Unset array doesn't work, Robert Elz, 2018/02/28