Top posting as I'm kinda going out of band of the thread here;
Having read the discussion, I guess the issue I brought up really
isn't a "bug" (though Greg's points probably should be considered
bugs). I'll preface this by saying I'm not an expert in bash by any
means. However, most languages have a garbage collection facility
which cleans up anonymous refs with nothing pointing to it and most
high level languages make it easier to make a soft or symbolic
reference than making hard references. But also, when you
'undef'/delete()/whatever the variable or the pointer, handle both
and avoid this issue. While I do like the idea of pointers for bash
variables, I would much prefer being able to create references.
Also, whatever happens, I think there should also be a way to test
for variable type (either another test flag or something like perl's
ref() ).
Feel free to flame me and say 'go away' if I'm off the mark with how
this should be handled :)