A command-line tool for searching for patterns in files, implemented in Rust. This project is a simplified version of the Unix grep command, built as an exercise while learning Rust.
- Search for a string within a file.
- Case-sensitive search by default.
- Case-insensitive search via an environment variable.
- Rust installed on your system.
Navigate to the root directory of the project in your terminal and run:
cargo build
# Building the Projecttarget\debug\minigrep.exe <query> <file_path>IGNORE_CASE=1 target/debug/minigrep "rust" example.txt