[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: access exported var
From: |
Peng Yu |
Subject: |
Re: access exported var |
Date: |
Mon, 16 Jan 2023 11:58:41 -0600 |
If that is the case, for the same reason, why $Z returns the first
element of the array Z? 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.
On 1/16/23, Chet Ramey <chet.ramey@case.edu> wrote:
> On 1/16/23 12:59 AM, Peng Yu wrote:
>
>> Why bash can not treat exporting array as
>> exporting the first element?
>
> Because I don't think those are good semantics.
>
> --
> ``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/
>
>
--
Regards,
Peng
- access exported var, Peng Yu, 2023/01/16
- Re: access exported var, Kerin Millar, 2023/01/16
- Re: access exported var, Chet Ramey, 2023/01/16
- Re: access exported var,
Peng Yu <=
- 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, 2023/01/16