8000 tr: deviations from reference implementation · Issue #6777 · uutils/coreutils · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tr: deviations from reference implementation #6777

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
andrewliebenow opened this issue Oct 11, 2024 · 1 comment · Fixed by #7320
Closed

tr: deviations from reference implementation #6777

andrewliebenow opened this issue Oct 11, 2024 · 1 comment · Fixed by #7320
Labels

Comments

@andrewliebenow
Copy link
Contributor

Should fail validation:

coreutils tr -d '\046-\048'
coreutils tr -d '[=aa=]'
coreutils tr '1' '[a*a]'

Output differs:

printf '(1)' | coreutils tr -d '\501'

Current stdout output:

()

Correct stdout output:

) (with warning printed to stderr)

I will try to get back to this.

@RenjiSann
Copy link
Collaborator

As of commit ea1562b5fe21cedff7a9b1c06da32f8d1ddbc069, All the defined constructs, except for coreutils tr -d '[=aa=]' which hangs, coreutils' behavior matches GNU's

@cakebaker cakebaker linked a pull request Feb 19, 2025 that will close this issue
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.

3 participants
0