title: Rearrange row to column awk or shell
body: <p>Given a text file file.txt, transpose its content.</p>
  
  <p>For example, if file.txt has the following content:</p>
  
  <pre><code>name age
  alice 21
  ryan 30
  </code></pre>
  
  <p>Output the following:</p>
  
  <pre><code>name alice ryan
  age 21 30
  </code></pre>