[nycbug-talk] Re: Simple sed question

a nice bug nycbug
Fri Jan 7 13:03:39 EST 2005


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..)









More information about the talk mailing list