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

[arith] Fix reversed digits in $((base#num)). #724

Merged
merged 2 commits into from
Apr 22, 2020

Conversation

akinomyoga
Copy link
Collaborator

This fixes the problem that echo $((10#0123)) outputs 3210.

$ osh -c 'echo $((10#0123))'
3210

@andychu andychu merged commit 2fd9816 into oils-for-unix:master Apr 22, 2020
@andychu
Copy link
Contributor

andychu commented Apr 22, 2020

Thanks!

@akinomyoga akinomyoga deleted the fix-arith-base-const branch April 22, 2020 08:59
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