Using sed on Mac OS 10 to replace tab character in text files
<p>I've been searching here for quite some time, and though I have found some really good info, nothing quite zeros in on my issue. Short-n-sweet, I'm using sed on Mac OS 10.11 to try and replace the tab character with the  pipe character. All the info I have found on this so far, the syntax may work on other platforms but not on Mac OS 10.11. I know sed works on 10.11 as I can replace normal, standard characters all day long and even some punctuation like a comma. And yes, I have tried using <code>\t</code>. The sed string I found that works with standard characters is the following: </p>

<pre><code>sed -i '' -e 's/,/|/g' /Users/username/Desktop/TABs2PIPE.txt
</code></pre>

<p>When I use <code>\t</code> in place of the <code>,</code> in the above string, it simply replaces all the lowercase <code>t</code> in the file.</p>

<p>So, any other Macheads out there who have gotten this to work I really would appreciate some help, thanks in advance.</p>