<div dir="ltr">You want to append to the array?<div><br></div><div><a href="http://stackoverflow.com/questions/1951506/bash-add-value-to-array-without-specifying-a-key">http://stackoverflow.com/questions/1951506/bash-add-value-to-array-without-specifying-a-key</a><br>
</div><div><br></div><div style>Dan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 20, 2013 at 3:17 PM, Mike Bean <span dir="ltr">&lt;<a href="mailto:beandaemon@gmail.com" target="_blank">beandaemon@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div>My google fu is failing me, see if I can describe what I&#39;m thinking. </div><div>I think in Python ( I might be wrong) array[-1] means the value on the end of an array.  Essentially, you&#39;re appending to the end of an array, array with two values becomes three, array with three values becomes for.  </div>

<div><br></div><div>Essentially what I&#39;m asking, is there a way in bash for an assignment statement to do the same thing?  Just add varX to the end of an array?</div><div><br></div><div>I know I could set up a loop for example, just use a counter variable that increments up once each time you write to the array,  but my instincts are telling me there should be a simpler method.</div>
<span class="HOEnZb"><font color="#888888">
<div><br></div><div>Mike</div></font></span></div>
<br>_______________________________________________<br>
clue mailing list: <a href="mailto:clue@cluedenver.org">clue@cluedenver.org</a><br>
For information, account preferences, or to unsubscribe see:<br>
<a href="http://cluedenver.org/mailman/listinfo/clue" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a><br></blockquote></div><br></div>