Using sed to replace text with slashes
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.
A chronological documentation test project, nothing serious, really!
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.