title: get a part of a line after grep
body: <p>I have a huge file on my unix server from which I need to extract certain parts</p>
  
  <p>The format of the line is</p>
  
  <pre><code>aNumber timestamp commandInformation
  </code></pre>
  
  <p>I use the command </p>
  
  <pre><code>grep LATENCY file.log | grep CMDTYPE=NEW
  </code></pre>
  
  <p>to filter out certain lines that I want. I only want the part timestamp and the last 9 characters from the line to be returned, not the complete line. How can I do that?</p>