On Mon, Oct 26, 2015 at 09:02:21AM -0400, Chet Ramey wrote:
> Use bison. Command substitution requires invoking the parser recursively,
> and byacc is completely incapable of reentrant parsing.
>
> This is one of the reasons that production bash releases ship with versions
> of y.tab.c and y.tab.h generated by bison.
Ah! Makes sense. I actually wonder if I already reported this "bug", since I
had bison lying around.
Thanks!
--
Eduardo Bustamante
https://dualbus.me/