bug-gawk
[Top][All Lists]
Advanced

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

delete of nested array is in consistent


From: Peng Yu
Subject: delete of nested array is in consistent
Date: Thu, 16 Apr 2020 17:30:56 -0500

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

-- 
Regards,
Peng



reply via email to

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