A small program written in Rust attempting to simulate a tiny subset of grep's functionality.
Adapted from the interactive Rust book.
Install rustup
and cargo
.
cargo run -- [query] [filepath]
for case sensitive match;
IGNORE_CASE=1 cargo run -- [query] [filepath]
for case insensitive match.
Rust is a pretty cool language, and I enjoyed learning it. Hope to build more fun stuff with Rust!