I can't find any documentation about the sed -e switch, for simple replace, do I need it?
e.g.
sed 's/foo/bar/'
VS
sed -e 's/foo/bar/'
|
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:
|
|||||
|
|
From the man page:
So you can use multiple
Would first replace |
|||
|
|
|
|||
|
|
man sed? – BoltClock Mar 1 '12 at 8:32