grep-clone 0.2.1

A mini grep clone from the Rust-lang official tutorial
Documentation

Grep Clone

Implementation of https://doc.rust-lang.org/book/ch12-00-an-io-project.html

This is a toy project that works by supporting searching for a string in a file.

Installation

cargo install grep-clone

Usage

grep-clone string file.txt

It also supports ignore-case

grep-clone string file.txt -i

Or

grep-clone string file.txt --ignore-case

Or

export IGNORE_CASE=true
grep-clone string file.txt