Re: [Fixed] NL character removed after \\ in command substitution

2021-08-17 Thread Haojun Bao
ine && shell_input_line[shell_input_line_index] == '\n') +if MBTEST(uc == '\\' && +unquoted_backslash == 1 && +remove_quoted_newline && +shell_input_line[shell_input_line_index] == '\n') { if

Re: NL character removed after \\ in command substitution

2021-08-17 Thread Haojun Bao
Thank you for the reply. Yes, we can add quotes to EOF, but in these simple reproducing steps, there are no variables. In my real use case, there will be variables, like the following, which makes adding quotes to < wrote: > > On Tue, Aug 17, 2021 at 10:28:16AM +0800, Haojun

NL character removed after \\ in command substitution

2021-08-16 Thread Haojun Bao
Configuration Information [Automatically generated, do not change]: 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-security uname out