Sed not reconizing \t instead it is treating it as 't' why?

Posted by sixtyfootersdude on Stack Overflow See other posts from Stack Overflow or by sixtyfootersdude
Published on 2010-04-09T19:01:26Z Indexed on 2010/04/12 15:03 UTC
Read the original article Hit count: 118

Filed under:
|
|
sed "s/\(.*\)/\t\1/" $filename > $sedTmpFile && mv $sedTmpFile $filename

I am expecting this sed script to insert a tab in font of every line in $filename however it is not. For some reason it is inserting a t instead.. Strange..

© Stack Overflow or respective owner

Related posts about sed

Related posts about bash