On Sat, Oct 15, 2016 at 5:41 PM, lolilolicon <[email protected]> wrote: > > pop() { > local -n _a=$1 > printf -v "$2" "${_a[-1]}"
and of course I meant
printf -v "$2" '%s' "${_a[-1]}"
The keyword is nameref if you haven't heard of it, so you can look it
up in the man page :)
