sed \"s/\\(.*\\)/\\t\\1/\" $filename > $sedTmpFile && mv $sedTmpFile $filename
I am expecting this sed script to insert a <
sed
Use $(echo '\t'). You'll need quotes around the pattern.
$(echo '\t')
Eg. To remove a tab:
sed "s/$(echo '\t')//"