On 21/05/2020 22:38, Ron Yorston wrote:
Matt Whitlock wrote:
A minimal example:

: `: "\\\\
\\$(bug)"`

However, when it appears inside a backquoted subcommand (with the
backslash characters being appropriately escaped), such as given at the top
of this report, then Dash processes it incorrectly:

/bin/sh: 1: bug: not found

This seems to have been introduced by commit 6bbc71d (parser: use
pgetc_eatbnl() in more places).  Reverting the following part of the
commit makes the problem go away:

Yes, that commit (a patch I had submitted) was buggy and the part that you suggest reverting should be.

Cheers,
Harald van Dijk

Reply via email to