title: sed fails with "unknown option to `s'" error
body: <p>I'm trying to use </p>
  
  <pre><code>sed -i -e "s/.*seb.*/    \"$ftp_login_template\"/" $ftp_dir
  </code></pre>
  
  <p>however I get this error:</p>
  
  <pre><code>sed: -e expression #1, char 34: unknown option to `s'
  </code></pre>
  
  <p>I don't understand why since this works perfectly:</p>
  
  <pre><code>sed -i -e "s/.*wbspassword.*/    \"wbspassword\": \"$password\",/" $user_conf
  </code></pre>
  
  <p>Any ideas as to what I'm doing wrong? </p>
  
  <p>Could this be the problem?
      <code>ftp_login_template=\${user}:${password}:24:86::\/var\/lib\/clit.${user}\/downloads:\/bin\/false\"</code></p>