Grep to assist .

filter only 5 letter words
grep -x '[a-z]\{5\}' /usr/share/dict/words

Pipe into 'correcly placed'
grep '.a.o.'

Or pipe into 'anywhere but here'
grep 'f.[^a].' | grep 'f.*a.*'


Can you improve this? e.g. dict/words contains characters with accents, like étude. Can we filter them?
And is the 'anywhere but here' possible in a single Rexexp, e.g. a lookahead?

Also, known issue: dict/words may not contain the same words as wordle uses. So you may miss some

Sign in to participate in the conversation
Bitcoin Mastodon

Bitcoin Maston Instance