You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jfinkels
changed the title
csplit: --supress-matched incorrectly elides last empty file
csplit: --suppress-matched incorrectly elides last empty file
Feb 8, 2025
Environment: Ubuntu 24.04, uutils
main
branch (git commit d86a7fb), GNU coreutils v9.6.16-3f7c3-modifiedSteps to reproduce:
What happens now: uutils
csplit
printsand produces three files:
xx00
with contents1\n
,xx01
with contents3\n
,xx02
with contents5\n
.What I expected to happen: GNU
csplit
printsand produces four files:
xx00
with contents1\n
,xx01
with contents3\n
,xx02
with contents5\n
,xx03
, an empty file.Notes: this is causing a failure in GNU test file
tests/csplit/csplit-suppress-matched.pl
.The text was updated successfully, but these errors were encountered: