bug-bash
[Top][All Lists]
Advanced

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

Re: Declaring arrays with empty string in one line is bugged


From: Chet Ramey
Subject: Re: Declaring arrays with empty string in one line is bugged
Date: Wed, 5 Aug 2020 09:32:12 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.11.0

On 8/4/20 1:31 PM, andy_bash wrote:

> Bash Version: 5.1
> Patch Level: 0
> Release Status: alpha
> 
> Description:
>         Declaring an array and setting it with empty strings ("") in one
> line is bugged in bash 5.1 alpha. This has worked in bash 3.2-5.0 without
> issue.

Thanks for the report. Bash-5.1-alpha was a little aggressive about
skipping over empty strings.

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]