bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Empty array referenced by indirection reports unbound variable


From: konsolebox
Subject: Re: Empty array referenced by indirection reports unbound variable
Date: Tue, 6 Apr 2021 22:25:29 +0800

On Tue, Apr 6, 2021 at 9:57 PM Alex fxmbsw7 Ratchev <fxmbsw7@gmail.com> wrote:
>
> arr=( ) implies no [0]=

Also `arr=()` does not imply `arr[0]=`. `arr[0]` remains unset and not
assigned to any. Not even an empty string.

-- 
konsolebox



reply via email to

[Prev in Thread] Current Thread [Next in Thread]