title: gsub does not replace character properly in gawk
body: <p>Here is a snippet of my code:</p>
  
  <pre><code>gsub(/'/, "&amp;apos;", name)
  gsub(/&lt;/, "&amp;lt;", name)
  gsub(/&gt;/, "&amp;gt;", name)
  gsub(/&amp;/, "&amp;amp;", name)
  </code></pre>
  
  <p>I'd like to replace the 4 characters: ' &lt; > &amp; but it's not working the way I'd like, example: I'd like to replace <code>&lt;</code> to <code>&amp;lt;</code>and it gives me this: <code>&lt;lt;</code></p>
  
  <p>Is there any solution for this?</p>