Skip to content

AlexJuca/grepru

Folders and files

NameName
Last commit message
Last commit date
Aug 31, 2020
Aug 28, 2020
Sep 18, 2020
Sep 18, 2020
Sep 18, 2020
Aug 28, 2020
Sep 18, 2020
Sep 18, 2020
Sep 18, 2020
Aug 31, 2020
Aug 31, 2020

Repository files navigation

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.