[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unquoted array slice ${a[@]:0} expands to just one word if IFS doesn
From: |
Chet Ramey |
Subject: |
Re: Unquoted array slice ${a[@]:0} expands to just one word if IFS doesn't have a space |
Date: |
Wed, 1 Aug 2018 16:43:14 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
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/
Re: Unquoted array slice ${a[@]:0} expands to just one word if IFS doesn't have a space, Chet Ramey, 2018/08/02