Thanks to visit codestin.com
Credit goes to lib.rs

1 unstable release

0.1.0 Sep 1, 2025

#2818 in Text processing

26 downloads per month

MIT license

5KB

tiny-grep

A simple grep-like text search utility written in Rust.

Installation

cargo install tiny-grep

Usage

tiny-grep <pattern> <file_path>

Search for a pattern in a file:

tiny-grep "hello" example.txt

Features

  • Simple text pattern matching
  • Command-line interface using clap
  • Fast and lightweight

License

MIT

Dependencies

~0.9–1.4MB
~26K SLoC