Re: Arithmetic evaluation of negative numbers with base prefix
From:
Chet Ramey
Subject:
Re: Arithmetic evaluation of negative numbers with base prefix
Date:
Wed, 19 Jun 2019 10:51:06 -0400
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.7.1
On 6/18/19 12:13 PM, Ilkka Virta wrote:
> On 18.6. 18:20, Greg Wooledge wrote:
>> On Tue, Jun 18, 2019 at 10:27:48AM -0400, Chet Ramey wrote:
>>> $ ksh93 -c 'echo ${.sh.version}'
>>> Version ABIJM 93v- 2014-09-29
>>> $ ksh93 -c 'echo $(( 10# ))'
>>> ksh93: 10# : arithmetic syntax error
>>
>> I guess most Linux distributions are not shipping the 2014 version of
>> ksh93 yet...?
>
> Yeah, I had the one from Debian. I'm not even sure what the current version
> of ksh is.
It's unclear. When Korn (and Fowler) left at&t, and at&t closed down the
ast software repository and it moved to github, the development status
got murky. There are people committing to that repository, but I don't
believe Korn is involved.
--
``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/