-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Ahmatjan edited this page May 8, 2023
·
1 revision
Welcome to the mgrep wiki!
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