On 6/1/16 6:44 PM, Grisha Levit wrote: > Yikes, I missed the |exec| command in my example, that would certainly make > it confusing.. > > What I meant was that the assignment works (i.e. the nameref is followed > correctly), but the relevant code > <http://git.savannah.gnu.org/cgit/bash.git/tree/redir.c?h=devel#n1368> > doesn’t handle retrieving the value of such a nameref when it needs to do > so to close the descriptor:
Yes, you're right. The fix is very similar to part of the fix for the unset builtin. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/