Bug 12221 - ash: BASE#nnnn" numeric literals broken
Summary: ash: BASE#nnnn" numeric literals broken
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.31.x
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-17 12:46 UTC by Ronald Wahl
Modified: 2020-01-25 12:45 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ronald Wahl 2019-09-17 12:46:10 UTC
ash:
# echo $((16#10))
16
# echo $((16#a))
-sh: arithmetic syntax error

bash:
$ echo $((16#10))
16
$ echo $((16#a))
10
Comment 1 Ron Yorston 2020-01-25 12:45:25 UTC
Fixed by commit 3004510fd (ash: fix BASE##nn bashism to accept letter 'digits' for bases > 9) in release 1.31.1. (And by commit ca1ce4b9f in master.)