[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: |
Sun, 11 Feb 2018 18:31:48 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 |
On 2/11/18 1:06 PM, Nikolai Kondrashov wrote:
> Hi everyone,
>
> I think I'm hitting a bug in Bash 4.4.12 (on Debian Stable): at some point
> an "unset" of a global array variable doesn't work inside a function, in
> "dkms" script from DKMS package. Adding another "unset" of the same variable
> next to it fixes the issue.
Do you have a local variable with the same name "shadowing" the global?
--
``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/
- Unset array doesn't work, Nikolai Kondrashov, 2018/02/11
- Re: Unset array doesn't work,
Chet Ramey <=
- Re: Unset array doesn't work, Nikolai Kondrashov, 2018/02/12
- Re: Unset array doesn't work, Nikolai Kondrashov, 2018/02/12
- Re: Unset array doesn't work, Clark Wang, 2018/02/12
- Re: Unset array doesn't work, Nikolai Kondrashov, 2018/02/12
- Re: Unset array doesn't work, Clark Wang, 2018/02/12
- Re: Unset array doesn't work, Nikolai Kondrashov, 2018/02/12
- Re: Unset array doesn't work, Chet Ramey, 2018/02/12
- Re: Unset array doesn't work, Nikolai Kondrashov, 2018/02/12
- Re: Unset array doesn't work, Robert Elz, 2018/02/26
- Re: Unset array doesn't work, Clint Hepner, 2018/02/26