Old high school files. Lessson notes/codes/projects etc.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
hsf/prog2/wordle/thing.sh

11 lines
209 B

#!/usr/bin/bash
words=/usr/share/dict/words
thing=$(ruby calc.rb $1 $2)
echo $thing
fivewords=$(cat $words | awk '{print tolower($0)}' | grep -E '^[[:alpha:]]{5}$')
echo $fivewords
#| grep -E '\b${thing}'