I searched here for quite some time, and although I found very good information, there is nothing needed in my problem. Short-n-sweet, I use sed on Mac OS 10.11 to try and replace the tab character with a pipe character. All the information I found on this syntax may work on other platforms, but not on Mac OS 10.11. I know sed works on 10.11 since I can replace normal standard characters all day long and even some punctuation marks like comma. And yes, I tried to use \t. The sed line I found that works with standard characters is this:
sed -i '' -e 's/,/|/g' /Users/username/Desktop/TABs2PIPE.txt
When I use \tinstead of ,in the line above, it just replaces all lowercase tin the file.
So, any other Macheads that got this at work, I would really appreciate some help, thanks in advance.
source
share