Regular Expression (sed editor)
Posted on 2002-07-22
In file "tmp.txt" i want to replace each string
"<TAB or SPACE>source" by string "destination.
I have to do it using sed command.
Following command doesn't work:
sed s/"[\t, ]source"/"destinations"/g tmp.txt
Can you please help?