title: Update value in a unix text file
body: <p>My input text file (abc.txt) is as follows,</p>
  
  <pre><code>2013-10-15 00:58:59.2557431|Florida|12345|
  </code></pre>
  
  <p>I need the output text as follows</p>
  
  <pre><code>2013-10-15 00:58:59.2557431|2013-10-15|Florida|12345|
  </code></pre>
  
  <p>That is, I need the date part alone to be extracted and added as second field in output text file.</p>