title: Shell Script output formatting
body: <p>I have output from a shell script like below</p>
  
  <pre><code>output1        ..... 1
  output2     ..... 2
  output3                 ............3
  </code></pre>
  
  <p>I tried to format it with equal spacing inside script but output still not have uniform spacing.</p>
  
  <p>I want to print the output like below.</p>
  
  <pre><code>output1         ..... 1
  output2         ..... 2
  output3         ......3
  </code></pre>
  
  <p>Are there any commnads available to get this  done. I use bash.</p>
  
  <p>here is the code.</p>
  
  <pre><code>lnode=abc
  printf "server name                     ......... "$lnode""
  printf "\nserver uptime and load details :                                                         ......... `uptime`"
  printf "\n"
  lcpu=`cat /proc/cpuinfo  | grep -i process |wc -l`
  printf "Total number of CPUs on this server :                                       .........  $lcpu\n"
  </code></pre>
  
  <p>-Thanks.</p>