Due to a logic error in the ifsbreakup function in ash.c when a
heredoc and normal command is run one after the other by means of a
semi-colon, when the second command drops into ifsbreakup the command
will be evaluated with the ifslastp/ifsfirst struct that was set when
the heredoc was evaluated.
Applied, thank you!
On Mon, Jun 20, 2022 at 8:23 PM Alex Gorinson wrote:
>
> Due to a logic error in the ifsbreakup function in ash.c when a
> heredoc and normal command is run one after the other by means of a
> semi-colon, when the second command drops into ifsbreakup the command
> will be eval