awk/testdir/t.substr

4 lines
90 B
Plaintext

substr($2, 1, 1) ~ /[abc]/
substr($2, length($2)) !~ /[a-z]/
substr($2, length($2)) ~ /./