Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16697

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

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: Declaring arrays with empty string in one line is bugged
Date 2020-08-05 09:32 -0400
Organization ITS, Case Western Reserve University
Message-ID <mailman.886.1596634341.2739.bug-bash@gnu.org> (permalink)
References <1596562283.5f299b6be9c50@trashmail.com> <bd56b6b7-9fe8-a504-cc08-d82a04432f24@case.edu>

Show all headers | View raw


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/

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: Declaring arrays with empty string in one line is bugged Chet Ramey <chet.ramey@case.edu> - 2020-08-05 09:32 -0400

csiph-web