Exercise
- Take this short interactive regex tutorial.
 
The tutorial is great for anyone. To help us understand the material better, we can do those problems after the tutorial.
- Find the number of words (in 
/usr/share/dict/words) that contain at
least threeas and don’t have a'sending. What are the three
most common last two letters of those words?sed‘sycommand, or
thetrprogram, may help you with case insensitivity. How many
of those two-letter combinations are there? And for a challenge:
which combinations do not occur?1
2
3
4cat /usr/share/dict/words | \
grep -E ".*([Aa].*){3,}[^Ss]$" | \
grep -o -e '.\{2\}$' | \
sort | uniq -c | sort -nr | head -n3