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