Option B: egrep
You write a simple version of grep, a program
that takes a regular expression as input and uses it to
find lines from a file that match the regular expression.
For instance, this finds the lines of this writeup that
contain an 'a' followed by any number of anything and then
a 'g':
$ egrep a.*g hw4-overview.html
There are three distinct assignments to choose from for the
<li> <b><a href='hw4/hw4.html'>Option A: 333ggle<a></b>
This is final step of the homeworks you have been working on.
...
Regular expressions are incredibly useful. Many, many tools
use them in some capacity. Many programming languages, including C++,
support them in some way (sometimes through libraries). You'll
want to be comfortable using them, and this assignment can help.