title: convert txt to columnated file
body: <p>I need to convert test.txt file to a columnated file. </p>
  
  <p>I know how to convert it with awk if the number of lines after each keyword are same but they are different in this example.</p>
  
  <pre><code>awk 'NR % 5 {printf "%s ", $0; next}1' test.txt 
  </code></pre>
  
  <p>if the number of lines are same here is the code but this one will not work with this input file.</p>
  
  <p>Anyway to convert this? Please advise.</p>
  
  <p><strong>test.txt</strong></p>
  
  <pre><code>"abc"
  4
  21
  22
  25
  "standard"
  1
  "test"
  4
  5
  10
  11
  12
  </code></pre>
  
  <p><strong>Expected Output:</strong></p>
  
  <pre><code>"abc" 4 21 22 25
  "standard" 1 
  "test" 4 5 10 11 12
  </code></pre>