Francisco: > New to sed/awk.. reading a book on them. > Trying to convert: > ### Text Text Text > > to > ###<tab>Text Text Text echo -e "Text Text Text" |sed -e 's/\(Text Text Text\)/\t\1/g' Just a general example for the tab replacement part (it could have many further permutations depending precisely what you need..)