Environment: Ubuntu 24.04, uutils main branch (git commit d86a7fb), GNU coreutils v9.6.16-3f7c3-modified
Steps to reproduce:
seq 6 | csplit --suppress-matched - 2 4 6
What happens now: uutils csplit prints
and produces three files:
xx00 with contents 1\n,
xx01 with contents 3\n,
xx02 with contents 5\n.
What I expected to happen: GNU csplit prints
and produces four files:
xx00 with contents 1\n,
xx01 with contents 3\n,
xx02 with contents 5\n,
xx03, an empty file.
Notes: this is causing a failure in GNU test file tests/csplit/csplit-suppress-matched.pl.