CLI tool that mimics grep (globally search for a regular expression and print) behaviour. Modularized and thoroughly tested. Made with Rust.
- Check production branch for polished and uncommented code
- Clone app
- Type
cargo run <string_to_search> <file_name> [<case_insenitive?>]
Optional:
- Specify whether to do a case-insenitive grep by setting environment variable or using the third optional command line argument. Command line arguments overrule environment variables.
IGNORE_CASE=1 cargo run <string_to_search> <file_name> [<case_insenitive?>]