Skip to content

Instantly share code, notes, and snippets.

@dewomser
Last active February 23, 2026 13:05
Show Gist options
  • Select an option

  • Save dewomser/1797db02978343078061e4b7d82f10b2 to your computer and use it in GitHub Desktop.

Select an option

Save dewomser/1797db02978343078061e4b7d82f10b2 to your computer and use it in GitHub Desktop.
Wordle für bash und auf Deutsch

Wordle für die Shell. *Ja, von mir deutsches Wörterbuch eingebaut in Zeile 2:

words=($(grep '^\w\w\w\w\w$' /usr/share/dict/ngerman | tr '[a-z]' '[A-Z]'))

In diesem Wordle gibt es 4071 Wörter

echo -e "$(grep -i '^\w\w\w\w\w$' /usr/share/dict/ngerman | tr '[a-z]' '[A-Z]')" |wc -w

Achtung ! Es gibt Umlaute ÄÖÜ… und die werden als 1 Zeichen gezählt

Alle auflisten:

echo -e "$(grep -i '^\w\w\w\w\w$' /usr/share/dict/ngerman | tr '[a-z]' '[A-Z]')"

Quelle: https://gist.github.com/huytd/6a1a6a7b34a0d0abcac00b47e3d01513

Photo: Bildschirmfoto_20240815_071127-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment