Crates.io | pranav_minigrep |
lib.rs | pranav_minigrep |
version | 0.1.4 |
source | src |
created_at | 2022-02-19 16:16:06.634465 |
updated_at | 2022-02-19 16:42:52.729357 |
description | Mini Version of grep regex command. It finds out the given string and returns the line containing it. |
homepage | |
repository | |
max_upload_size | |
id | 535270 |
size | 5,877 |
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
Follow Me On Instagram at Pranav Arora
Lets Get Connected on Linkedin at Pranav Arora