/minigrep

The I/O CLI implementation from The Book Rust example.

Primary LanguageRust

minigrep

This is a simple project made from this "The Book" example.

Usage

To do a case insensitive query:

CASE_INSENSITIVE=1 cargo run <query> <file.txt>

Or, case sensitive:

cargo run <query> <file.txt>