[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Final backslash<newline> causes array assignment mis-parse in previo
Re: Final backslash<newline> causes array assignment mis-parse in previous eval
Tue, 26 Aug 2014 16:06:07 -0400
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
On 8/25/14, 6:25 PM, address@hidden wrote:
> Bash Version: 4.3
> Patch Level: 0
> Release Status: release
> NOTE: This repeats (approximately) a bug I sent a few minutes ago, but
> an invalid From: address. Most likely my ISP dropped the message as
> but if not, please accept my appoligies for the dup.
> \<newline> is supposed to be effectively ignored, but if it appears at
> end of the script then parse errors sometimes occur with previous
> In particular eval "array=(values...)" is mis-parsed if a subsequent
> ends with <backslash><newline> and there is nothing further in the script.
Thanks for the report. This will be fixed in the next release of bash.
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/