For Rust Developers
Install this binary crate
cargo install pranav_minigrep
Usage
cargo run <keyword> <filename.txt>
- Setup the
CASE_INSENSITIVE
environment variable- On your PowerShell run the following commands:
$Env CASE_INSENSITIVE=1 cargo run <keyword> <filename.txt>
- To deactivate the Environment Variable, run the following command:
>
Remove-Item Env:CASE_INSENSITIVE