Skip to content
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

echo: don't output "\n" if "\c" is encountered #5350

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

cakebaker
Copy link
Contributor

When running env echo -e "a\cb" GNU echo simply outputs "a" whereas uutils echo outputs "a\n". This PR fixes this bug.

@tertsdiepraam tertsdiepraam merged commit 9e97019 into uutils:main Oct 3, 2023
@cakebaker cakebaker deleted the echo_no_new_line branch October 3, 2023 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants