This is a clone of the popular grep
linux command written in rust.
grepru
searches for PATTERNS
in each FILE
.
grepru
is used in a shell command.
grepru "if the lady" file.txt
grepru --version || grepru --V
grepru "hello" file.txt -c
grepru "hello" file.txt -n
The library is available as open source under the terms of the MIT License.