A minimalistic grep with rust
Go to file
Piyush मिश्रः 1fb78a00cb readme edited 2020-04-25 13:52:13 +05:30
src initials 2020-04-25 13:11:59 +05:30
.gitignore initials 2020-04-25 13:11:59 +05:30
Cargo.lock initials 2020-04-25 13:11:59 +05:30
Cargo.toml initials 2020-04-25 13:11:59 +05:30
LICENSE Initial commit 2020-04-25 13:07:02 +05:30
README.md readme edited 2020-04-25 13:52:13 +05:30
file_to_match.txt initials 2020-04-25 13:11:59 +05:30
mirrorlist readme edited 2020-04-25 13:52:13 +05:30

README.md

minigrep

A minimalistic grep with rust.

To build:

cargo build
cargo test

You'll find minigrep in target/release/minigrep

Usage:

minigrep <pattern> <filename> [case]

case is added if the search is case sensistive

Example:

minigrep Ram file_to_match.txt case