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

8 lines
152 B

#!/usr/bin/bash
words=/usr/share/dict/words
thing=$(ruby calc.rb $1 $2)
echo $thing
cat $words | awk '{print tolower($0)}' | grep -E '${thing}(\w+)'