A simple command line tool for searching for a string in a file
inspired by rust book and rust course
for development and testing usage
$ cargo run -- [OPTIONS] <search> <file>
for release and installed usage
$ mgrep [OPTIONS] <search> <file>
-i
: ignore case distinctions-c
: print word count in file (exclude dots and commas)-h
: print help message
$ mgrep "hello world" README.md
$ mgrep -i "hello world" README.md
$ mgrep -c README.md