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: Chet Ramey
Subject: Re: Empty array referenced by indirection reports unbound variable
Date: Thu, 30 Dec 2021 11:35:20 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.4.1

On 12/27/21 11:37 PM, konsolebox wrote:
On Thu, Apr 8, 2021, 06:56 konsolebox, <konsolebox@gmail.com <mailto:konsolebox@gmail.com>> wrote:

    On Thu, Apr 8, 2021 at 2:44 AM Chet Ramey <chet.ramey@case.edu
    <mailto:chet.ramey@case.edu>> wrote:
     > Indirection does not check whether or not the variable it's indirecting
     > is $@/$* or ${array[@/*]}. It simply goes by the return value.

    It looks like it can easily be fixed with this:

Let's try it. Thanks for the report.

Chet

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