4 ms·
My Awk version, not using the `words` alias: $ gawk '/.ri../ && /[c]/ && !/[aosebk]/ && /^[a-z]{5}$/ { print }' /usr/share/dict/words crimp crith prich
by bsg75 5y ago
My Awk version, not using the `words` alias:
$ gawk '/.ri../ && /[c]/ && !/[aosebk]/ && /^[a-z]{5}$/ { print }' /usr/share/dict/words
crimp
crith
prich
Based on the article:
$ words | grep '.ri[^c].' | grep c | grep -v '[aosebk]'
crimp
crith