question
When I want to replace paths in a file, using escape symbols (\) is more cumbersome and poorly readable.
For example, if you want to replace /a/b/c with /d/e/f, the command is as follows:
sed -i 's/\/a\/b\/c/\/d\/e\/f/g'
solve
The delimiter is replaced by / to # (other characters are also available, as long as it is followed by the s command):
sed -i 's#/a/b/c#/d/e/f#g'