Grep to assist #wordle.

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

Follow

@berkes QED Wordle 207 1/6

🟩🟩🟩🟩🟩

Β· Β· 0 Β· 0 Β· 0
Sign in to participate in the conversation
Mastodon

Ton's personal Mastodon instance