grep-clone 0.2.1

A mini grep clone from the Rust-lang official tutorial
Documentation
  • Coverage
  • 100%
    9 out of 9 items documented4 out of 5 items with examples
  • Size
  • Source code size: 6.81 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 311.71 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • paolorechia

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