title: formatting bash in linux - printf align middle
body: <p>This line of code:</p>
  
  <pre><code>printf 'ddd %-22s dddd \n' "eeeeeee"
  </code></pre>
  
  <p>Aligns to the left.</p>
  
  <p>What could I use to align it to centre like this:</p>
  
  <pre><code>ddd      eeeeeee      dddd
  </code></pre>