On +2015/06/02 08:31:57, Greg Wooledge wrote:

> 
> > 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() ).
> 
> Bash is not a strongly typed language.  You've got strings, and indexed
> arrays, and associative arrays.  That's all.  (There's declare -i, but
> no sane person USES that, so we can ignore it.)
> 
> You might be trying to do things that Bash is simply not designed to do.
> It's a shell.

I would argue that a nameref is a variable type.

Attachment: pgpmvsk0XMiMp.pgp
Description: PGP signature

Reply via email to