Debian Codegraph @

examples/prism-awk.html

raw symbols SCIP
1 <h2>Full example</h2>
2 <pre><code># Source: awklang.org
3 BEGIN { ascetion = bsection = 0 }
4 $2 ~ /^[aA][0-9]+/ { asection++ }
5 $2 ~ /^[bB][0-9]+/ { bsection++ }
6 END { print asection, bsection }
7 </code></pre>