Skip to content

Conversation

@LoukasPap
Copy link

Fix issue 253

  • Initialize the context of the hold space to \n (newline character)
  • Previously, it started as an empty string which resulted to wrong outputs

The solution fixes the problem for the swap pattern x but also for g and G.

@github-actions
Copy link

GNU sed testsuite comparison:

Test results comparison:
  Current:   TOTAL: 64 / PASSED: 8 / FAILED: 56 / SKIPPED: 0
  Reference: TOTAL: 64 / PASSED: 8 / FAILED: 56 / SKIPPED: 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

handles multiple exchange commands differently from GNU (pattern space truncation)

1 participant