bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coproc and existing variables


From: Chet Ramey
Subject: Re: coproc and existing variables
Date: Tue, 17 May 2016 14:29:16 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.0

On 5/17/16 12:28 PM, Grisha Levit wrote:
> 
> On Tue, May 17, 2016 at 11:56 AM, Chet Ramey <chet.ramey@case.edu
> <mailto:chet.ramey@case.edu>> wrote:
> 
>     Should the coproc code remove the
>     nameref attribute and use the name supplied to the coproc command as the
>     name of the array, or should it resolve the nameref and use `x' as the
>     name of the coproc? 
> 
> 
> I think the latter makes sense since that is what usually happens with
> assignments to namerefs pointing to unset variables.

Yes, I agree.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]