title: How do you put results on a single line? (In bash)
body: <p>So I made this file and I am currently running it within a bash shell and it lists fine, however each result is placed on its own individual line. I was wondering how I would make the same program, but make it place the results laterally, one result after another.</p>
  
  <pre><code>x=0;while [ $x -le  256 ]
  do
  t=$(tput sgr 0);r=$(tput setaf $x);echo "${r} $x ${t}";((x=$x+1))
  done
  </code></pre>