On 10/16/22 12:45 PM, D630 wrote:
Hi,

In version `5.2.0(1)-rc2 (x86_64-pc-linux-gnu)` from Debian, this code


```
_=$(
     f1() {
         c <<-!
         !
     }
     f2() {
         :
     }
)
```

results in

```
bash: command substitution: line 15: syntax error near unexpected token `('
bash: command substitution: line 15: `}function f2 () '

Thanks for the report. This will be fixed in the next devel branch push.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/


Reply via email to