sed: unescaped newline inside substitute pattern?
<p>This code: </p>

<pre><code>echo Foo | sed -e 's/Foo/Bar'
</code></pre>

<p>results in <code>unescaped newline inside substitute pattern</code> (instead of the expected <code>Bar</code>).</p>

<p>I'm obviously overlooking something simple, bash/sed/escaping related, but I can't find out what's causing this?</p>