[clue] bash scripting question

David L. Anselmi anselmi at anselmi.us
Wed Feb 20 15:35:42 MST 2013


Dan Kulinski wrote:
> You want to append to the array?
>
> http://stackoverflow.com/questions/1951506/bash-add-value-to-array-without-specifying-a-key

Heh, I found that too.  I typed "bash array" in Google and it helpfully listed "bash array append" 
and voila.

There's also item 9 at http://www.thegeekstuff.com/2010/06/bash-array-tutorial/ that shows a 
slightly different way and might work better if you're doing weird things in between appends.

Dave




More information about the clue mailing list