bug-bash
[Top][All Lists]
Advanced

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

Re: Zero-length indexed arrays


From: Chet Ramey
Subject: Re: Zero-length indexed arrays
Date: Wed, 22 Dec 2021 09:14:29 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.4.0

On 12/22/21 12:12 AM, Lawrence Velázquez wrote:

     a.  Using ${a[@]} or ${a[*]} with an array without any assigned
         elements when the nounset option is enabled no longer throws
         an unbound variable error.

https://lists.gnu.org/archive/html/bug-bash/2016-07/msg00031.html



--
``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/



reply via email to

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