Lost for (5-letter) words?
You are playing Wordle and having a hard time finding a 5-letter word? There are 5883 of them in /usr/share/dict/words: $ egrep '^[[:alpha:]]{5}$' /usr/share/dict/words | sort -fu | wc -l 5883 In combination with an old Perl script random #! /usr/bin/perl -w srand ($$ ^ time); $i = rand($#ARGV +1); print $ARGV[$i]; you can make the first move: $ random `egrep '^[[:alpha:]]{5}$' /usr/share/dict/words | sort -fu`; echo likes Aim for a common word without repeating letters....