Grep to assist #wordle.
filter only 5 letter wordsgrep -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
@berkes the list of words wordle uses is available in your browser. https://www.zylstra.org/blog/2022/01/20640/
@berkes QED Wordle 207 1/6
π©π©π©π©π©
Ton's personal Mastodon instance