|
From: | Luiz Angelo Daros de Luca |
Subject: | Re: Random parser error of $() when there is a case inside |
Date: | Mon, 07 Dec 2015 18:22:56 +0000 |
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 chet@case.edu http://cnswww.cns.cwru.edu/~chet/
Luiz Angelo Daros de Luca
[Prev in Thread] | Current Thread | [Next in Thread] |