Re: Bash shouldn't perform syntax check on single-quoted strings

2021-02-05 Thread Oğuz
On Fri, Feb 5, 2021 at 5:46 PM Chet Ramey wrote: > I can't reproduce this. > After rebuilding it, neither can I. Weird

Re: Bash shouldn't perform syntax check on single-quoted strings

2021-02-05 Thread Chet Ramey
On 2/5/21 5:15 AM, Oğuz wrote: $ echo ' > ${a+$(|)} bash: command substitution: line 7: syntax error near unexpected token `|' bash: command substitution: line 7: `|)}' bash: unexpected EOF while looking for matching `)' > Reproducible on devel, 5.1.4, and 5.0.17, but the latte

Bash shouldn't perform syntax check on single-quoted strings

2021-02-05 Thread Oğuz
$ echo ' > ${a+$(|)} bash: command substitution: line 7: syntax error near unexpected token `|' bash: command substitution: line 7: `|)}' bash: unexpected EOF while looking for matching `)' > Reproducible on devel, 5.1.4, and 5.0.17, but the latter handles it better. And while testing