title: How can I remove the last character of the last line of a file?
body: <p>I have this set of lines in a file:</p>
  
  <pre><code>{info},
  {info},
  {info},
  {info},
  </code></pre>
  
  <p>and I want the file like this without the last ",":</p>
  
  <pre><code>{info},
  {info},
  {info},
  {info}
  </code></pre>
  
  <p>How can I do it in bash? Any idea?</p>