Skip to content

Instantly share code, notes, and snippets.

@MichaelChirico
Created September 23, 2020 03:28
Show Gist options
  • Save MichaelChirico/ac303c9a9ae84e303493d5a7836b8291 to your computer and use it in GitHub Desktop.
Save MichaelChirico/ac303c9a9ae84e303493d5a7836b8291 to your computer and use it in GitHub Desktop.
Cheating on NYT SpellingBee
# caveat -- doesn't have 100% overlap w the dictionary
CENTER=u
LETTERS=${CENTER}cfinot
grep $CENTER /usr/share/dict/words | grep -E "^[$LETTERS]{4,}$"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment