The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 10-06-2008
ricardo.ludwig ricardo.ludwig is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 10
Export Arrays in ksh

Hello everybody!

Why I can export arrays in ksh?
I trie this for exemplo:

In parent script

array[0]=a
array[1]=b
array[2]=c

export array

When I see the variable array in child script there are only first index.

For exemplo in child script

+echo ${array[*]}
a

But I want all index.
Any idea?