title: Printing in bash shell
body: <p>I have a couple of lines of code. I am trying to figure out an alternative way of printing this in bash. I have tried a couple of different echo's and have mixed it up but im not quite getting the desired out come... </p>
  
  <p>Here is my code: PS I am printing out a tranposed matrix of numbers, and it prints fine how it is already. Just want an alternative way. </p>
  
  <pre><code>for((m=0;m&lt;NUM_OF_COLS;m++))
  do 
      printf "%d" "${trans[0, $m]}"
      for((i=1;i&lt;NUM_COUNT;i++))
      do
          printf '\t'
          printf '%s' ${trans[$i, $m]}
      done
      echo
  done 
  exit 0
  </code></pre>