dermoth has quit [Ping timeout: 260 seconds]
dermoth has joined ##bash-crimes
dakkar has joined ##bash-crimes
<
dakkar>
and I can't blame anyone: it's all my own code
<
sdomi>
i think I hit this once before, and made it a habit to declare local's at the top of the function and assign them separately
<
sdomi>
whether it would help here is unclear, i'm too tired to understand your exact usecase >,<
<
sdomi>
ohh, actually. i wonder if quoting the pointer variable could help here. like "${dictionary["$name"]}"
<
dakkar>
tried that, didn't make any difference
dakkar has quit [Ping timeout: 260 seconds]
mei[m] has joined ##bash-crimes
<
mei[m]>
maybe set -u would've helped
<
mei[m]>
also, pro tip: for debugging, use declare -p some_var instead of echo "$some_var"