msgbartop
A chronological documentation test project, nothing serious, really!
msgbarbottom

25 Apr 2007 Using sed to replace text with slashes

Posted by

This is the right way to replace slashes

sed -e 's,/usr/bin,/home/bin,g'

Usually you replace text this way

sed -e 's/text1/text2/g'

You can use any character in place of those slashes.

Tags:

Comments are closed.