1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 19:47:45 +00:00

Match GNU semantics for missing EOF

While the rust coreutils semantics were arguably more correct,
they were different than the gnu split semantics when handling a
file without a trailing EOF. This patch addresses that difference
and allows passing one more GNU test suite.
This commit is contained in:
Andrew Baptist 2022-10-07 17:46:49 -04:00
parent 97dd4824e5
commit 4922d34177
3 changed files with 45 additions and 5 deletions

4
tests/fixtures/split/noeof.txt vendored Normal file
View file

@ -0,0 +1,4 @@
1
2222
3
4