I would like to modify the value of louis
to green
in this bash3 map:
ARRAY=( "nicolas:red"
"louis:blue" )
I tried to overwrite with ARRAY+=("louis:green")
but it does not work: I end up with a 3-elements array with duplicate key.
Note: I can't use bash4's modern maps so I have to use bash3 associative arrays.