title: How to convert rows to columns in unix
body: <p>I want my Unix file output, which has each value output on a new line, to be converted into grouped rows as shown below.</p>
  
  <p>Say my output file in Unix looks like this: </p>
  
  <pre><code>jobname
  userid
  starttime
  endtime
  jobname2
  userid
  starttime
  endtime
  </code></pre>
  
  <p>I want the output to be: </p>
  
  <pre><code>jobname1 userid starttime endtime
  jobname2 userid starttime endtime
  </code></pre>