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:
for (int i=0; i<array.length; i++)
{
array[i].append("content");
}
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:
for (int i=0; i<array.length; i++)
{
array[i].append("content");
}