title: sed to replace non-printable character with printable character
body: <p>Am running <code>BASH</code> and UNIX utilities on <code>Windows 7</code>.</p>
  
  <p>Have a file that contains a vertical tab. The binary symbol is <code>0x0B</code>. The octal symbol is <code>013</code>. I need to replace the symbol with a blank space.</p>
  
  <p>Have tried this <code>sed</code> approach but it fails:</p>
  
  <pre><code>sed -e 's/'$(echo "octal-value")'/replace-word/g'
  </code></pre>
  
  <p>Specifically:</p>
  
  <pre><code>sed -e 's/'$(echo "\013")'/ /g'
  </code></pre>
  
  <hr>
  
  <p>Update:</p>
  
  <p>Following <a href="https://stackoverflow.com/questions/13180057/replacing-control-character-in-sed">this advice</a> I use <code>GNU sed</code> and this approach:</p>
  
  <pre><code>sed -i 's:\0x0B: :g' file
  </code></pre>
  
  <p>but the stubborn vertical tab is still in the file.</p>
  
  <hr>
  
  <p>What is the correct way to replace a non-printable character with a printable character?</p>