title: How can I clean up misaligned columns in text?
body: <p>I have a C program that outputs two columns, utterly misaligned. The reason for the misalignment is lengths of words in the first column are very different. </p>
  
  <p>I have an output file opened in vi. How do I quickly align these two columns? I am fine with using awk, perl, sed, and not just vi (7.2) toolset. Also, can we have a generic solution for files with more than two columns?</p>
  
  <p>Here is  sample file</p>
  
  <pre><code>column1               column2
  -------               -------
  sdfsdfsddfsdfsdfsdfsd         343r5
  dfgdfgdf             234
  gdfgdfgdfgdfgf            645
  </code></pre>