/rust-microgrep

Very naive grep implementation in Rust.

Primary LanguageRust

microgrep

microgrep is a (very) naive grep implementation wrote in Rust.

Wrote for fun while giving a go at Rust.

Not intended to be used in any shape or form.

Build

cargo build

Run

cargo run <QUERY> <FILENAME>

Example

cargo run banish poem.txt
cargo run bANiSh poem.txt --i

Unit Tests

cargo test