It changes to read full lines before executing commands, escaping newlines when it is needed. It solves 2 different cases:
- Substitution commands with newlines in the replace part - Global commands with append or insert commands Still, some additional problems were detected in the case of global commands but they will be fixed in a follow up patchset.