SyntaxFix
Write A Post
Hire A Developer
Questions
I used this on Mac:
sed -i '' $'$i\\\n\\\thello\n' filename
Used this link for reference