title: How to remove line containing a specific string from file?
body: <p>I have a file BookDB.txt which stores information in the following manner :</p>
  
  <pre><code>C++ for dummies:Jared:10.67:4:5
  Java for dummies:David:10.45:3:6 
  PHP for dummies:Sarah:10.47:2:7
  </code></pre>
  
  <p>Assuming that during runtime, the scipt asks the user for the title he wants to delete. This is then stored in the TITLE variable. How do I then delete the line containing the string in question? I've tried the following command but to no avail :</p>
  
  <pre><code>sed '/$TITLE/' BookDB.txt &gt;&gt; /dev/null
  </code></pre>