Skip to content

Instantly share code, notes, and snippets.

BEGIN { LETTERS = "abcdefghijklmnopqrstuvwxyz" }
{
len = length($0);
if (len == 5) {
for (i = 1; i <= len; i++) {
c = substr($0, i, 1);
ltr = index(LETTERS, c);
if (ltr > 0) {