coreutils
coreutils copied to clipboard
cut: Fix cut when lines dont end with specified delim
issue: https://github.com/uutils/coreutils/issues/5795
Using the default line terminator \n and without the additional option --only-delimited, cut should print the lines that do not contain delimiters only when they are ended with the specified line terminator(the default \n in this case or null-terminated if --zero-terminated is enabled).
In the given input the last line was not ended in a \n so it shouldn't have been printed.
GNU testsuite comparison:
GNU test failed: tests/timeout/timeout. tests/timeout/timeout is passing on 'main'. Maybe you have to rebase?
Congrats! The gnu test tests/mv/mv-n is no longer failing!
Congrats! The gnu test tests/mv/update is no longer failing!
GNU testsuite comparison:
Skipping an intermittent issue tests/timeout/timeout (passes in this run but fails in the 'main' branch)