title: How to remove a comma from a .txt file using an Ant script
body: <p>I have an Ant script and an SQL script. The Ant script makes the SQL script to run against the database and it generates a <code>.txt</code> file with multiple rows. The <code>.txt</code> file contains values like:</p>
  
  <pre><code>'value1',
  'value2',
  'value3',
   .
   .
  'valueN',
  </code></pre>
  
  <p>I want to remove the comma in the last row. Is there any Ant command that I can use to make this happen?</p>
  
  <p>I am new to both Ant and SQL</p>