title: How to modify a file by using awk?
body: <pre><code>awk '/&lt;ul&gt;/ {ul++} ul == 6 { getline } 1' /var/www/html/INFOSEC/english/test.html
  </code></pre>
  
  <p>if i run this line of code, the shell will not help me to modify the file, instead, it only output the result in the shell. Can any one help???thx</p>