[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New array_expand_once option
From: |
Chet Ramey |
Subject: |
Re: New array_expand_once option |
Date: |
Mon, 19 Jun 2023 13:40:37 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 |
On 6/17/23 7:58 AM, alex xmb ratchev wrote:
On Thu, Jun 15, 2023, 20:40 alex xmb ratchev <fxmbsw7@gmail.com
<mailto:fxmbsw7@gmail.com>> wrote:
On Thu, Jun 15, 2023, 15:06 Chet Ramey <chet.ramey@case.edu
<mailto:chet.ramey@case.edu>> wrote:
On 6/14/23 5:18 PM, alex xmb ratchev wrote:
> [[ -v a["$subscript"] ]]
a small question about that .. do the quotes matter ?
For `[[', no. For `[', yes, since the subscript undergoes a round of word
expansion, including word splitting, before `[' is invoked.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
- New array_expand_once option, Chet Ramey, 2023/06/13
- Re: New array_expand_once option, alex xmb ratchev, 2023/06/13
- Re: New array_expand_once option, Chet Ramey, 2023/06/14
- Re: New array_expand_once option, alex xmb ratchev, 2023/06/14
- Re: New array_expand_once option, Chet Ramey, 2023/06/15
- Re: New array_expand_once option, alex xmb ratchev, 2023/06/15
- Re: New array_expand_once option, alex xmb ratchev, 2023/06/17
- Re: New array_expand_once option, Dennis Williamson, 2023/06/17
- Re: New array_expand_once option, alex xmb ratchev, 2023/06/17
- Re: New array_expand_once option, Chet Ramey, 2023/06/19
- Re: New array_expand_once option,
Chet Ramey <=
Re: New array_expand_once option, alex xmb ratchev, 2023/06/17