最佳答案
sed "s/\(.*\)/\t\1/" $filename > $sedTmpFile && mv $sedTmpFile $filename
I am expecting this sed
script to insert a tab
in front of every line in $filename
however it is not. For some reason it is inserting a t
instead.