Re: Random parser error of $() when there is a case inside

2015-12-07 Thread Luiz Angelo Daros de Luca
Thanks Chet and Dennis, Dennis, your workaround did work. Regards, Em sáb, 5 de dez de 2015 às 18:58, Chet Ramey escreveu: > 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 scr

Re: Random parser error of $() when there is a case inside

2015-12-05 Thread Chet Ramey
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

Random parser error of $() when there is a case inside

2015-12-04 Thread Luiz Angelo Daros de Luca
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc -I/home/abuild/rpmbuild/BUILD/bash-4.2 -L/home/abuild/rpmbuild/BUILD/bash-4.2/../readline-6.2 Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCO