Yesterday I wrote about how I solve Wordle with grep. I haven’t been doing Wordle recently, but I learned while visiting relations that a bunch of people I know are still doing it each day.
I made one change to my wordlist by filtering out capital letters:
$ grep '^.....$' /usr/share/dict/american-english \
| grep -v "[A-Z']" \
| iconv -f utf8 -t ascii//TRANSLIT \
> wordle
This is what I scored on today’s puzzle:
Wordle 1,293 3/6
WordleBot
Skill 88/99
Luck 68/99
My method (currently) doesn’t help with the first guess, so I started with “stare”, which turned out to be a good guess this time. Wordle Bot says I have narrowed the list to 24 words, which agrees with my method:
$ grep -v '[tar]' wordle \
| grep s \
| grep [^s]...e
chose
close
copse
dense
douse
dowse
ensue
geese
goose
guise
house
issue
lisle
loose
louse
moose
mouse
noise
noose
obese
poise
posse
pulse
whose
I didn’t use any of those words because I can eliminate even more words by not using the terminal E. Afterall, I know that bit of information already and I can use that space to seek out another letter. So I picked “blush”, which eliminated all but two words by my count and Wordle Bot:
$ grep -v '[tarblu]' wordle \
| grep h \
| grep [^s]..se
chose
whose
It was a coinflip since neither word seems more likely than the other. I lucked out and picked “chose”, which seemed the better choice.