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


Groups > gnu.bash.bug > #14436

Re: Unquoted array slice ${a[@]:0} expands to just one word if IFS doesn't have a space

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: Unquoted array slice ${a[@]:0} expands to just one word if IFS doesn't have a space
Date 2018-08-01 16:43 -0400
Message-ID <mailman.4573.1533156218.1292.bug-bash@gnu.org> (permalink)
References <20180801134012.r6ojiewtx3npabhe@eeg.ccf.org> <c1978119-1836-e88d-4889-c54bea4d0559@iki.fi> <20180801121251.efyquoibrsneiqbl@eeg.ccf.org> <b920fff1-e2dd-59b8-f62d-5c982eedd8aa@iki.fi> <20018.1533135140@jinx.noi.kre.to>

Show all headers | View raw


On 8/1/18 10:52 AM, Robert Elz wrote:
>     Date:        Wed, 1 Aug 2018 09:40:12 -0400
>     From:        Greg Wooledge <wooledg@eeg.ccf.org>
>     Message-ID:  <20180801134012.r6ojiewtx3npabhe@eeg.ccf.org>
> 
>   | https://lists.gnu.org/archive/html/bug-bash/2017-06/msg00283.html
> 
> A bug in dash which as far as I can tell has since been fixed.
> 
>   | https://lists.gnu.org/archive/html/bug-bash/2017-09/msg00058.html
> 
> A bug in bash, but I don't have a recent enough version to know
> if it has been fixed or not.

It was fixed a couple of weeks after being reported.

> 
>   | https://lists.gnu.org/archive/html/bug-bash/2018-01/msg00035.html
> 
> This one is fixed as well (seems to have been a transitory
> bug as I don't see it in versions of bash I have on different
> systems than are newer, or older, than the one shown as
> affected.)

It's fixed in bash-5.0-alpha. It was fixed a couple of months before this
report.


-- 
``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 | Unroll thread


Thread

Re: Unquoted array slice ${a[@]:0} expands to just one word if IFS doesn't have a space Chet Ramey <chet.ramey@case.edu> - 2018-08-01 16:43 -0400

csiph-web