[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: access exported var
From: |
Leonid Isaev |
Subject: |
Re: access exported var |
Date: |
Mon, 16 Jan 2023 18:47:19 +0000 |
User-agent: |
Mutt/1.13.4 (2020-02-15) |
On Mon, Jan 16, 2023 at 12:07:25PM -0600, Peng Yu wrote:
> Given arrays cannot be exported, is it better to export nothing or
> export the first element?
You asked a very philosophical (not in a good sense) question: if I know that
an array "${a[@]}" can't be exported, and want to export its 1st element, I
will do just that: export a variable "${a[0]}"...
So, I vote for nothing.
--
Leonid Isaev
- 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, 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 <=
- 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
- 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