title: Is it possible to append an item to an array in awk without specifying an index?
body: <p>I realize that awk has associative arrays, but I wonder if there is an awk equivalent to this:</p>
  
  <p><a href="http://php.net/manual/en/function.array-push.php" rel="noreferrer">http://php.net/manual/en/function.array-push.php</a></p>
  
  <p>The obvious workaround is to just say:</p>
  
  <pre><code>array[$new_element] = $new_element
  </code></pre>
  
  <p>However, this seems less readable and more hackish than it needs to be.</p>