title: Bash: key-value pretty printing
body: <p>I have a command output in the form of key value pairs:</p>
  
  <pre><code>key1: value 1 key2: value 2 ...
  key1: long value 1 key2: value 2 ...
  key1: val 1 key2: value 2 ...
  </code></pre>
  
  <p>what I would like is to pretty print this output so that the ":" are aligned:</p>
  
  <pre><code>key1: value 1      key2: value 2 ...
  key1: long value 1 key2: value 2 ...
  key1: val 1        key2: value 2 ...
  </code></pre>
  
  <p>Thanks</p>