Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 821 Bytes

README.md

File metadata and controls

40 lines (27 loc) · 821 Bytes

grepru

This is a clone of the popular grep linux command written in rust.

Rust

Description

grepru searches for PATTERNS in each FILE. grepru is used in a shell command.

Current supported functionality:

Search for string in file

grepru "if the lady" file.txt

Print version

grepru --version || grepru --V

Print only a count of selected lines per FILE

grepru "hello" file.txt -c

Prefix each line of output with the 1-based line number within its input file.

grepru "hello" file.txt -n

License

The library is available as open source under the terms of the MIT License.