On #690, I would like something straightforward like:
a=(one two three)
if test -n "$BASH_VERSION"; else
t=$(compgen hack) # etc.
else
var t = typeof(a)
fi
However Oil expressions won't parse in most shells. We would
So maybe we need something like:
a=(one two three)
if test -n "$BASH_VERSION"; else
t=$(compgen hack) # etc.
else
t=${'typeof(a)'} # avoid process substitution
fi
On #690, I would like something straightforward like:
However Oil expressions won't parse in most shells. We would
So maybe we need something like: