Created
December 14, 2017 22:25
-
-
Save bluerogue251/ea4fbf621b4138acabc0e1289d1c869c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
echo "Total number of words:" | |
cat /usr/share/dict/american-english | wc -w | |
echo "" | |
# To fix this, you need to filter the dictionary words | |
echo "Number of words containing the string 'auto':" | |
cat /usr/share/dict/american-english | FILL_ME_IN | wc -w | |
echo "" | |
# For this next bug, you may have to research options for the `sort` command using `$ man sort` | |
echo "Alphabetically reverse-sorted list of words containing the string 'auto':" | |
cat /usr/share/dict/american-english | grep auto | sort |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment