title: How to search by variable in awk
body: <p>I'm trying to get the N-th row after a given pattern with awk.
  The problem is that awk searches pattern literally:</p>
  
  <pre><code>awk -v patt=${1} -v rows=${2}'NR==p {print} /patt/ {p=NR+rows}'
  </code></pre>
  
  <p>How to escape the "patt" valiable ?</p>