title: remove lines that contain exact string in bash script with sed
body: <p>I'm trying to run a bash script that removes lines from a file with only the specific string I pass to it,  "<strong><em>/home/ken/sed.txt</em></strong>". </p>
  
  <p>Current script which does nothing:</p>
  
  <pre><code>#!/bin/bash
  
  script="\\/home\\/ken\\/sed.txt"
  
  sed -i "/\&lt;$script\&gt;/d" /home/ken/sed.txt
  
  </code></pre>
  
  <p>This deletes all rows:</p>
  
  <pre><code>#!/bin/bash
  
  script="\\/home\\/ken\\/sed.txt"
  
  sed -i "/$script/d" /home/ken/sed.txt
  
  </code></pre>
  
  <p>The file:</p>
  
  <pre><code>1 1 1 1 1 /home/ken/sed.txt
  6 6 6 6 6 /home/ken/sed.txt
  2 2 2 2 2 /home/ken/sed.txt
  6 6 6 6 6 /home/ken/sed.txt
  3 3 3 3 3 /home/ken/sed.txt
  3 3 3 3 3 /home/ken/sed.txt
  5 5 5 5 5 /home/ken/sed.txt
  1 1 1 1 1 a/home/ken/sed.txt
  6 6 6 6 6 a/home/ken/sed.txt
  2 2 2 2 2 a/home/ken/sed.txt
  6 6 6 6 6 a/home/ken/sed.txt
  3 3 3 3 3 a/home/ken/sed.txt
  3 3 3 3 3 a/home/ken/sed.txt
  5 5 5 5 5 a/home/ken/sed.txt
  </code></pre>
  
  <p>Desired outcome:</p>
  
  <pre><code>1 1 1 1 1 a/home/ken/sed.txt
  6 6 6 6 6 a/home/ken/sed.txt
  2 2 2 2 2 a/home/ken/sed.txt
  6 6 6 6 6 a/home/ken/sed.txt
  3 3 3 3 3 a/home/ken/sed.txt
  3 3 3 3 3 a/home/ken/sed.txt
  5 5 5 5 5 a/home/ken/sed.txt
  </code></pre>
  
  <p>Any assistance would be greatly appreciated.</p>