On 6/29/23 4:05 AM, Grisha Levit wrote:
If the last redirection list in a group / subshell / substitution has
a heredoc and the following connector is a semicolon, the connector is
incorrectly skipped over.
Try this patch instead:
*** ../bash-20230628/print_cmd.cMon Jun 26 16:56:46 202
If the last redirection list in a group / subshell / substitution has
a heredoc and the following connector is a semicolon, the connector is
incorrectly skipped over.
This happens only outside of function definitions, so I think it's an
issue only for pretty-print mode.
bash --pretty-print <<<$'(