title: Sed remove all content in line after \t
body: <p>I have o/p like</p>
  
  <pre><code>19599 user  20   0  120m  32m 4260 S 14.0  5.3   3:21.13 app.out  \t Wed Jun  8 09:31:06 UTC 2011
  19599 user  20   0  120m  32m 4260 S 14.0  5.4   3:21.61 app.out  \t Wed Jun  8 09:31:12 UTC 2011
  19599 user  20   0  121m  32m 4260 S 12.0  5.4   3:22.31 app.out  \t Wed Jun  8 09:31:17 UTC 2011
  </code></pre>
  
  <p>I want to remove all character starting from <code>\t</code> in the line. 
  How can I do that with <code>sed</code>?</p>
  
  <p>I tried with <code>awk -F t '{print $1}'</code>
  but it removing t from app.out . </p>
  
  <p>I want o/p like </p>
  
  <pre><code>19599 user  20   0  120m  32m 4260 S 14.0  5.3   3:21.13 app.out
  19599 user  20   0  120m  32m 4260 S 14.0  5.4   3:21.61 app.out
  19599 user  20   0  121m  32m 4260 S 12.0  5.4   3:22.31 app.out
  </code></pre>
  
  <p>If I wrote the <code>awk</code> like this:</p>
  
  <pre><code> awk -F t '{print $1"t"}'
  </code></pre>
  
  <p>it works fine, but it is only a work around. How can I remove all character starting from <code>\t</code> in the line till end of line?</p>