title: bash script fails to read first line
body: <p>I have a script to convert timestamps into seconds so I can eventually work out the averages. I noticed that the number of output lines did not equal the amount of input lines. In fact it does not seem to read the first line. I simplified the code to check it but it is the same every time.</p>
  
  <p>Input file looks like this:</p>
  
  <pre><code>00:00:01
  00:00:02
  00:00:03
  </code></pre>
  
  <p>Output like this:</p>
  
  <pre><code>00 00 02
  00 00 03
  </code></pre>
  
  <p>This is the script:</p>
  
  <pre><code>#!/bin/bash
  
  while read line
  do
      awk -F: '{ print $1, $2, $3 }' &gt; /home/time.log
  
  done &lt; /home/timestamp.log
  </code></pre>
  
  <p>I'm sure it is something stupid but I cannot see it!</p>