Re: Arrays doubts in KSH

set -A x 11 22 33 44 44
echo ${x[3]}

<apogeusistemas [at] gmail.com> wrote in message
news:b7c2b738-4755-41f1-84e3-e46bcb67942c [at] b40g2000prf.google groups.com...
> Hi:
>
> How could I make this work in KSH ?
>
>>>x="11 22 33 44 55"
>>>echo x[3]
> 44
>
>>>y=((x[2] + x[4]))
>>> echo $y
>
> 88
>
> Thank You Masters !
>
>
Bobby.Higgins [ Sa, 29 Dezember 2007 16:34 ] [ ID #1895491 ]
Linux » comp.unix.shell » Re: Arrays doubts in KSH

Vorheriges Thema: Re: How sum 2 arrays in ksh ?
Nächstes Thema: Re: modifing a path (string)