title: Unix formatting text into table with grep or awk or sed
body: <p>I have been able to locate things no problem with <code>grep</code> however the assignment is basically pulling data out and formatting it and displaying it as a table columns with multiple rows.  Now it shouldn't be anything crazy because we only have basic knowledge of <code>awk</code> and <code>sed</code>.  Now I'm curious: is there any way to take my output from <code>grep</code> and format it so for example I get:</p>
  
  <pre><code>Jake
  0001
  Bob
  0002
  Kim
  0003
  </code></pre>
  
  <p>and want to make it something like this</p>
  
  <pre><code>#     Name   LD #
  ---   ----   ----
    1   Jake   0001 
    2   Bob    0002
    3   Kim    0003
  </code></pre>
  
  <p>Also is it possible to explain each part of your line and also is it possible to make it expandable if I have a large record to deal with?</p>