<div dir="ltr"><br><div style>My google fu is failing me, see if I can describe what I&#39;m thinking. </div><div style>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 style><br></div><div style>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 style><br></div><div style>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>
<div style><br></div><div style>Mike</div></div>