#mini-grep #file

bin+lib minigrep_vbomfim

A simple grep tool written in Rust

2 unstable releases

0.2.0 Dec 20, 2024
0.1.0 Jun 25, 2020

#2 in #mini-grep

MIT/Apache

7KB
146 lines

Minigrep

minigrep is a simple command-line tool written in Rust that searches for a pattern in a file and prints the lines that contain it.

Usage

minigrep <pattern> <file>

Example

minigrep "pattern" file.txt

Features

  • Case-sensitive search
  • Case-insensitive search
  • Search in a file

Dependencies

~1–1.7MB
~31K SLoC