[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: access exported var
From: |
Lawrence Velázquez |
Subject: |
Re: access exported var |
Date: |
Mon, 16 Jan 2023 20:08:15 -0500 |
User-agent: |
Cyrus-JMAP/3.7.0-alpha0-1187-g678636ba0d-fm-20230113.001-g678636ba |
On Mon, Jan 16, 2023, at 1:02 PM, Chet Ramey wrote:
> On 1/16/23 12:58 PM, Peng Yu wrote:
>> If $Z returns the first element of the array
>> Z, then it would be surprising that export Z does not make the first
>> element available in the environment.
>
> Except for everyone who says "I exported the array, why do I only get
> the first element?"
As one data point, confusion about Z implying Z[0] is already
relatively common in the #bash Libera Chat IRC channel.
--
vq
- Re: access exported var, (continued)
- Re: access exported var, Peng Yu, 2023/01/16
- Re: access exported var, Chet Ramey, 2023/01/16
- Re: access exported var, Peng Yu, 2023/01/16
- Re: access exported var, Leonid Isaev, 2023/01/16
- Re: access exported var, Peng Yu, 2023/01/16
- Re: access exported var, Lawrence Velázquez, 2023/01/16
- Re: access exported var, Peng Yu, 2023/01/16
- Re: access exported var, Peng Yu, 2023/01/16
- Re: access exported var, Lawrence Velázquez, 2023/01/16
- Message not available
- Re: access exported var, Peng Yu, 2023/01/16
- Re: access exported var,
Lawrence Velázquez <=
- Re: access exported var, Matthew Mueller, 2023/01/16
- Re: access exported var, Greg Wooledge, 2023/01/16
- Re: access exported var, Matthew Mueller, 2023/01/16
Re: access exported var, Chet Ramey, 2023/01/16
Re: access exported var, Lawrence Velázquez, 2023/01/16