Coding project from Chapter 12 of the The Rust Programming Language book.
Compile and run as so
minigrep QUERY FILENAME
QUERY
being the pattern to search forFILENAME
being the source to search in
Check out ripgrep for a more robust pattern searcher written in Rust, as mentioned in the book.
agaagaggaagaggaa