grep-clone

Crates.iogrep-clone
lib.rsgrep-clone
version0.2.1
sourcesrc
created_at2023-04-02 10:35:44.353303
updated_at2023-04-02 11:11:55.525787
descriptionA mini grep clone from the Rust-lang official tutorial
homepage
repository
max_upload_size
id827967
size6,812
. (paolorechia)

documentation

README

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
Commit count: 0

cargo fmt