On 6/18/19 1:52 AM, Ilkka Virta wrote:
> I still wish this could be fixed to do the useful thing without any
> workarounds, given it's what ksh and zsh do
I'm surprised people keep saying this.
$ ksh93 -c 'echo ${.sh.version}'
Version ABIJM 93v- 2014-09-29
$ ksh93 -c 'echo $(( 10# ))'
ksh93: 10
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...?
wooledg:~$ ksh
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