[prev in list] [next in list] [prev in thread] [next in thread]
List: ast-users
Subject: Re: [ast-users] [ksh93] arr=( ${arr[@]:1} ) bug?
From: David Korn <dgk () research ! att ! com>
Date: 2011-12-27 20:09:01
Message-ID: 201112272009.pBRK91F4023875 () penguin ! research ! att ! com
[Download RAW message or body]
cc: ast-users@research.att.com
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
dgk@research.att.com
_______________________________________________
ast-users mailing list
ast-users@research.att.com
https://mailman.research.att.com/mailman/listinfo/ast-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic