A grep clone made in rust to learn the language.
You need rustc and cargo.
First clone this repo:
git clone https://github.com/shamlees/grep_clone.gitInside the folder use cargo run to compile and open the program. The [query] is the word you want to find, and [file_name] is the path to your file and its name example: hi C:\Documents\test.txt.
cargo run [query] [file_name]CASE_INSENSITIVE=true$env:CASE_INSENSITIVE = 'true'set CASE_INSENSITIVE="true"