A light and simple grep clone.
Find a file
2024-03-19 15:44:23 -07:00
src add color to directory print 2024-02-28 14:05:03 -07:00
.gitignore Initial commit 2024-02-28 11:51:41 -07:00
Cargo.toml add color highlighting to found text 2024-02-28 13:55:16 -07:00
LICENSE Initial commit 2024-02-28 11:51:41 -07:00
README.md Update README.md 2024-03-19 15:44:23 -07:00
test.txt init 2024-02-28 12:11:06 -07:00

Rokgrep

A light and simple grep clone made with Rust.

If you're looking for something a little more useful, check out ripgrep.

Usage

rokgrep
  -p, --path <file/directory path>       
  -t, --text <text to look for>       
  -r, --recursive         
  -c, --case-insensitive  
  -h, --help

The path and text arguments are required. The recursive argument will have rokgrep look in subdirectories, if the path you entered is a directory. The case-insensitive argument makes it so that capital or lowercase letters do not affect the search result.