5 releases (breaking)
0.5.0 | Oct 19, 2019 |
---|---|
0.4.0 | Oct 10, 2019 |
0.3.0 | Oct 7, 2019 |
0.2.0 | Oct 3, 2019 |
0.1.0 | Oct 2, 2019 |
#17 in #search-file
18KB
490 lines
This is a simple version of grep implemented in Rust.
Help:
rsgrep 0.5.0
Christian Blume
A simple version of grep implemented in Rust
USAGE:
rsgrep [FLAGS] <string> <path>
FLAGS:
-c, --color Output colored strings
-f, --followlinks Follow links
-h, --help Prints help information
-i, --insensitive Case insensitive search
-l, --location Print filename and line number
-r, --recursive Search directories recursively
-e, --regex Interpret the search string as a regular expression
-t, --relative Print relative filenames
-V, --version Prints version information
-w, --warnings Show warnings
ARGS:
<string> The string to search for
<path> The path to search in (file or directory)
Dependencies
~4–12MB
~117K SLoC