awk/testdir/t.re5

4 lines
83 B
Plaintext
Raw Normal View History

2019-06-23 05:13:57 -04:00
BEGIN { for (i = 0; i <= 9; i++) r[i] = i }
{ for (i in r) if ($0 ~ r[i]) print }