Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 501 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 501 Bytes

Minigrep

Rust

Practice project from The Rust Programming Language, Chapter 12. The project is to make a mini version of the grep command line utility

cargo run -- searchstring filename.txt

Ignoring Case

You can ignore casing by specifying an environment variable

MINIGREP_IGNORE_CASE=1 cargo run -- searchstring filename.txt