cc: [email protected]
Subject: Re: [ast-users] [ksh93] arr=( ${arr[@]:1} ) bug?
--------
> $ echo ${.sh.version}
> Version jM 93u 2011-02-08
> $ cat foo.sh
>
> arr=( aa bb cc )
> echo ${arr[@]}
>
> arr=( ${arr[@]:1} )
> echo ${arr[@]}
> $ ksh foo.sh
> aa bb cc
> bb cc cc <-- Bug?
>
Thanks, this will be fixed in the next update. The correct value is
bb cc
David Korn
[email protected]
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users