[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: delete of nested array is in consistent
From: |
Neil R. Ormos |
Subject: |
Re: delete of nested array is in consistent |
Date: |
Thu, 16 Apr 2020 19:32:38 -0500 (CDT) |
david kerns wrote:
> Peng Yu <address@hidden> wrote:
>> See below. I'd expect the second one should
>> also print array. Is it a bug?
>> $ awk -e 'BEGIN { delete a[""]; print typeof(a) }'
>> array
>> $ awk -e 'BEGIN { delete a[1][""]; print typeof(a[1]) }'
>> unassigned
> pretty sure gawk still doesn't have "true"
> multi-dimensional arrays...
Regardless of whether gawk is deemed to have
"'true' multi-dimensional arrays", the OP's code
appears to be intended to employ the feature
described here:
<http://www.gnu.org/software/gawk/manual/html_node/Arrays-of-Arrays.html>
- delete of nested array is in consistent, Peng Yu, 2020/04/16
- Re: delete of nested array is in consistent, david kerns, 2020/04/16
- Re: delete of nested array is in consistent, arnold, 2020/04/17
- Re: delete of nested array is in consistent, Andrew J. Schorr, 2020/04/17
- Re: delete of nested array is in consistent, arnold, 2020/04/17
- Re: delete of nested array is in consistent, Peng Yu, 2020/04/17
- Re: delete of nested array is in consistent, arnold, 2020/04/20
- Re: delete of nested array is in consistent, Denis Shirokov, 2020/04/23
- Re: delete of nested array is in consistent, Peng Yu, 2020/04/26
- Re: delete of nested array is in consistent, david kerns, 2020/04/26
- Re: delete of nested array is in consistent, arnold, 2020/04/27