title: How to cut and overwrite a certain section from a file BASH
body: <p>How to cut and overwrite a certain section from a file BASH</p>
  
  <p>Content in dl.txt: "127. www.example.com"</p>
  
  <p>I have tried:</p>
  
  <pre><code>#cat dl.txt|egrep -v "^[0-9]+.[ ]" &gt; dl.txt
  #cat dl.txt|egrep "www.example.com" &gt; dl.txt
  </code></pre>
  
  <p>Could this maybe be done in awk ? </p>