title: write multiple enteries to text using bash script
body: <p>Trying to write to text multiple entries as of now it is only writing the last one.
  For example, 23, 456, 789 are 3 separate entries and only 789 writes to text (file.txt)</p>
  
  <pre><code>    write2text() {
    # $1 is the first argument to add2text
    cd 'C:\Users\cmccabe\Desktop\annovar'
    echo "$1" &gt; file.txt
  }
  </code></pre>
  
  <p>Thank you.</p>