title: How to append a string to each element of a Bash array?
body: <p>I have an array in Bash, each element is a string. How can I append another string to each element? In Java, the code is something like:</p>
  
  <pre><code>for (int i=0; i&lt;array.length; i++)
  {
      array[i].append("content");
  }
  </code></pre>