On 12/4/15 1:25 PM, Luiz Angelo Daros de Luca wrote:

> Bash Version: 4.2
> Patch Level: 53
> Release Status: release
> 
> Description:
> While writing a script, I faced a random parser error with code like
> 
> A=$(
> ...
> case b in
> c)
> ...
> esac 
> ...
> )
> 
> Minor changes like renaming a variable skips the problem. It seems that the
> parser gets confused in some cases.

This was fixed back in bash-4.3.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to