2 unstable releases
0.2.0 | Dec 20, 2024 |
---|---|
0.1.0 | Jun 25, 2020 |
#1 in #mini-grep
59 downloads per month
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.6MB
~30K SLoC