title: bash: How to add space in string?
body: <p>I have a string like this:</p>
  
  <pre><code>string="aaa-bbb"
  </code></pre>
  
  <p>But I want to add space before char '-', so I want this:</p>
  
  <pre><code>aaa -bbb
  </code></pre>
  
  <p>I tried a lot of things, but I can't add space there. I tried with <code>echo $string | tr '-' ' -'</code>, and some other stuff, but it didn't work...</p>
  
  <p>I have Linux Mint: GNU bash, version 4.3.8(1)</p>