Re: $((expr)) allows the hexadecimal constant "0x"
From:
Chet Ramey
Subject:
Re: $((expr)) allows the hexadecimal constant "0x"
Date:
Mon, 11 Dec 2023 09:37:11 -0500
User-agent:
Mozilla Thunderbird
On 12/10/23 1:58 AM, Koichi Murase wrote:
It's too late, but a better way could have been introducing the
function-call syntax and supporting signed n-adic numbers through e.g.
« int([-+]digits, n) ».
You're 40 years too late. The [base#]number syntax was in ksh-83.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/