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

[regression] Error: expected a hex digit, but found: ' (with '\xa') #9426

Closed
timotheecour opened this issue Oct 18, 2018 · 2 comments
Closed

Comments

@timotheecour
Copy link
Member

# Error: expected a hex digit, but found: '
echo "foo" & '\xa' & "bar"
@timotheecour timotheecour changed the title [regression] Error: expected a hex digit, but found: ' [regression] Error: expected a hex digit, but found: ' (with '\xa') Oct 18, 2018
@LemonBoy
Copy link
Contributor

Not a bug, here's a quote from #9390

\uHHHH and \xHH must now use exactly four/two hex digits (already documented in the spec)

@timotheecour
Copy link
Member Author

for people running into this:
the fix is to use '\x0a' (not '\xa0' !)

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

No branches or pull requests

2 participants