Skip to content

cut: different output with -d #5795

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sylvestre opened this issue Jan 5, 2024 · 0 comments · Fixed by #5844
Closed

cut: different output with -d #5795

sylvestre opened this issue Jan 5, 2024 · 0 comments · Fixed by #5844
Labels

Comments

@sylvestre
Copy link
Contributor

sylvestre commented Jan 5, 2024

With this simple file:

cat << EOF > a
a:1
EOF
echo -n 'b:' >> a

With GNU

$ cat a|/usr/bin/cut -d'
' -f1
a:1

With our:

$ cat a| ./target/debug/coreutils cut -d'
' -f1
a:1
b:

tested by: tests/cut/cut.pl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant