title: Sed error "sed: unmatched '/'"
body: <p>I have a file containing data with the following format:</p>
  
  <pre><code>{"parameter":"toto.tata.titi", "value":"0/2", "notif":"1"}
  </code></pre>
  
  <p>I make a change on the file with sed:</p>
  
  <pre><code>sed -i "/\&lt;$param\&gt;/s/.*/$line/" myfile
  </code></pre>
  
  <p>which <code>line</code> variable is</p>
  
  <pre><code>{"parameter":"toto.tata.titi", "value":"0/2", "notif":"3"}
  </code></pre>
  
  <p>and <code>param</code> variable is <code>toto.tata.titi</code></p>
  
  <p>The above <code>sed</code> command return error:</p>
  
  <pre><code>sed: unmatched '/'
  </code></pre>
  
  <p>Because the <code>line</code> variable is containing <code>/</code> ==> <code>"0/2"</code></p>
  
  <p>How to update my sed command to make it work even if the <code>line</code> variable is containing <code>/</code>?</p>