xref: /illumos-gate/usr/src/test/util-tests/tests/awk/examples/awk/t.re5 (revision 689b9301078f0c35c7f198fcee8032a0d30eff3a)
1BEGIN {	for (i = 0; i <= 9; i++) r[i] = i }
2
3{ for (i in r) if ($0 ~ r[i]) print }
4