#mini-grep #case-insensitive #search

bin+lib minigrep_iaziz786

A simple implementation of grep

1 unstable release

0.1.0 Jul 10, 2021

#28 in #case-insensitive

MIT/Apache

5KB
83 lines

minigrep

minigrep is a very simple implementation of grep in Rust. The implementation is a walkthrough of chapter 12 from "The Book".

Prerequisite

  • Rust
cargo run <<search_string>> <<filename>>

Search will do a case sensitive search of the search_string at filename provided.

Search (case-insensitive)

CASE_INSENSITIVE=1 cargo run <<search_string>> <<filename>>

This will do a case insensitive search to the filename.

No runtime deps