2 unstable releases
0.2.0 | Dec 20, 2024 |
---|---|
0.1.0 | Jun 25, 2020 |
#2 in #mini-grep
130 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–1.7MB
~32K SLoC