Re: Subject: Pressing Ctrl-C during any subshell evaluation terminates the shell

2020-10-12 Thread Daniel Farina
On Sun, Oct 11, 2020 at 12:59 PM Chet Ramey wrote: > > On 10/9/20 7:23 PM, Daniel Farina wrote: > > > Bash Version: 5.0 > > Patch Level: 17 > > Release Status: release > > > > Description: > > > > Pressing Ctrl-C during any subshell evaluation terminates the shell. I > > noticed this when using d

Re: Bad substitution breaks conditional statement

2020-10-12 Thread Chet Ramey
On 10/12/20 1:23 AM, Martin Schulte wrote: > Machine: x86_64 > OS: linux-gnu > Compiler: gcc > Compilation CFLAGS: -g -O2 -fdebug-prefix-map=/build/bash-2bxm7h/bash-5.0=. > -fstack-protector-strong -Wformat -Werror=format-security -Wall > -Wno-parentheses -Wno-format-sec$ > uname output: Linux t1

Re: Bad substitution breaks conditional statement

2020-10-12 Thread Chris Elvidge
On 12/10/2020 06:23 am, Martin Schulte wrote: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -g -O2 -fdebug-prefix-map=/build/bash-2bxm7h/bash-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -Wno-format-sec$ uname output: Linux t1 4.19.0-1

Re: Bad substitution breaks conditional statement

2020-10-12 Thread Lawrence Velázquez
> On Oct 12, 2020, at 1:23 AM, Martin Schulte wrote: > > It looks as if a bad substitution detected inside a case of if continues the > script flow immediately after the conditional statement skipping the > remaining statements inside the conditional. Please take a look into section > "Repeat-