Skip to content

tr: missing ambiguous octal escape warning #6821

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 24, 2024 · 0 comments · Fixed by #6886
Closed

tr: missing ambiguous octal escape warning #6821

andrewliebenow opened this issue Oct 24, 2024 · 0 comments · Fixed by #6886
Labels

Comments

@andrewliebenow
Copy link
Contributor

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

❯ coreutils printf '(1)' | /usr/bin/tr -d '\501'
/usr/bin/tr: warning: the ambiguous octal escape \501 is being
        interpreted as the 2-byte sequence \050, 1
)%

Splitting this out from #6777 so the main issue can get fixed faster

OshinoShinobu-Chan added a commit to OshinoShinobu-Chan/coreutils that referenced this issue Nov 24, 2024
OshinoShinobu-Chan added a commit to OshinoShinobu-Chan/coreutils that referenced this issue Nov 24, 2024
OshinoShinobu-Chan added a commit to OshinoShinobu-Chan/coreutils that referenced this issue Nov 24, 2024
OshinoShinobu-Chan added a commit to OshinoShinobu-Chan/coreutils that referenced this issue Nov 24, 2024
@cakebaker cakebaker linked a pull request Nov 25, 2024 that will close this issue
cakebaker pushed a commit that referenced this issue Nov 28, 2024
* tr: Add ambiguous octal escape warning, issue #6821

* tr: Make code cleaner
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.

2 participants