title: How to show 2 lines in 1 with grep,awk and more
body: <p>When I launch a bash command I get this</p>
  
  <pre><code>--&gt; '044'    0       ''                               0        
   1&gt; ''                                0         0
  </code></pre>
  
  <p>this is 1 register, i get more registers, how to show every register in 1 line? and if is possible, how to show with only 1 space separating the values?</p>
  
  <p>I want this:</p>
  
  <pre><code>'044' 0 '' 0 '' 0 0
  </code></pre>
  
  <hr>
  
  <p>Well i put ALL the command, don't function using this:</p>
  
  <pre><code>cdmao;(echo "SELECT nulog FROM POSTE WHERE numan='5512204';"|cuser|grep "\--"|grep -v nulog|cut -    c5-11;)|while read poste_id;do echo "SELECT key_id,genrtou,chiftp, sonsurson, mnemo, order_mla, key_mla FROM KEYBOARD WHERE poste_id='$poste_id';"|cuser| tr -s ' ' | 
  while read line; do 
    if [[ $i == 1 ]]; then 
      echo -n "$line"; 
      let i+=1; 
    else 
      echo " $line"; 
      let i-=1; 
    fi; 
  done
  </code></pre>
  
  <p>i don't receive nothing: only this >, not finish command</p>