How do I delete the last character in each line using vim : <p>I have a file:</p>

<pre><code>12345a
123456b
1234567c
12345678d
123456789e
</code></pre>

<p>How do I delete the last character in each line.<br>
And the file will be<br></p>

<pre><code>12345
123456
1234567
12345678
123456789
</code></pre>
