General Associative Array problem -- Was: UUID as Array Keys strangely n
From:
Robert White
Subject:
General Associative Array problem -- Was: UUID as Array Keys strangely not possible
Date:
Fri, 22 Feb 2019 11:23:37 +0000
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1
Consider the script at the end of this email. It's effectively
impossible to get EEEE FFFF or GGGG to accept the various values.
Either that or I am doing something incredibly stupid.
(It took me a while to factor this down and try virtually every
workaround that would not involve writing external files.)
#!/bin/bash -f
# These three arrays never get values no matter what
typeset -A EEEE
typeset -A FFFF
typeset -A GGGG
typeset -A INLINE
typeset -A INFUNC
function testfunc() {