bug fix. [] is an invalid array subscript.

On 10/30/09, Michal Hlavinka <[email protected]> wrote:
> Hi all,
>
>  one user has found there is change in behavior between ksh-2009-06-30 and
>  ksh-2009-09-08:
>
>  in 2009-06-30 and older versions this works:
>  ABC[]="hello"
>
>  but in 2009-09-08 and later versions this produces syntax error message:
>  ksh: syntax error at line 1: `[]' empty subscript
>
>  I've never used this and I don't know if this should work or not.
>
>  Is this change new bug or bug fix?
>
>  Regards,
>
> Michal Hlavinka
>  _______________________________________________
>  ast-users mailing list
>  [email protected]
>  https://mailman.research.att.com/mailman/listinfo/ast-users
>


-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     [email protected]   \-`\-'----.
 `'-..-| /     Solaris/BSD//C/C++ programmer   \ |-..-'`
      /\/\                                     /\/\
      `--`                                      `--`
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to