title: Exporting an array in bash script
body: <p>I can not export an array from a bash script to another bash script like this:</p>
  
  <pre><code>export myArray[0]="Hello"
  export myArray[1]="World"
  </code></pre>
  
  <p>When I write like this there are no problem:</p>
  
  <pre><code>export myArray=("Hello" "World")
  </code></pre>
  
  <p>For several reasons I need to initialize my array into multiple lines. Do you have any solution?</p>