1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-16 10:11:01 +00:00
uutils-coreutils/src/uu/csplit
Jeffrey Finkelstein 18f9ca9da4 csplit: don't panic on missing suppressed file
Avoid a panic that would occur when attempting to remove a file that
didn't exist. This would happen when scanning for a regular expression
match, advancing by a positive offset, and suppressing empty files. For
example, before this commit,

    echo a | csplit -z - %a%1

would cause a panic. After this commit, the process terminates as
expected: without error, without output, and without any files written.

Fixes #7251.
2025-02-09 22:04:47 -05:00
..
src csplit: don't panic on missing suppressed file 2025-02-09 22:04:47 -05:00
Cargo.toml New release 2025-01-11 14:01:27 +01:00
csplit.md csplit: move help strings to markdown file 2023-03-07 11:38:04 +00:00
LICENSE Include license text in all published crates 2022-03-05 21:21:46 +01:00