title: Sed adding extra "\" character to tab
body: <p>I am running in to an issue where sed is adding an extra character to my command.  Hopefully this is something easy but I can't spot the problem.  I am using OS X and <code>gsed</code> but I this same issues also occurs on Linux.</p>
  
  <p>Here is the command I am running:</p>
  
  <pre><code>gsed  -i "/^bar/ a /\t test" test.yml
  </code></pre>
  
  <p>Here is what the <code>test.yml</code> file looks like:</p>
  
  <pre><code>foo
  bar
  foobar
  </code></pre>
  
  <p>After I run the above sed command, <code>test.yml</code> looks like this:</p>
  
  <pre><code>foo
  bar
  /    test
  foobar
  </code></pre>
  
  <p>I have tried several variations of the above sed command (<code>\t</code>, <code>/\t</code>, <code>\/t</code>, etc.) but all of them seem to produce the extra <code>/</code> in the output file.  Why is this command adding an extra <code>/</code> character and how do I fix this?</p>