I can't find any documentation about the
-e switch, for simple replace, do I need it?
sed -e 's/foo/bar/'
From the man page:
So you can use multiple
Would first replace
This might work for you:
In each case the
Normally commands can be separated by a
The alternative is to use the shell(bash) to insert a newline: