A little cli-tool, built in c++, that does a lot of the functions of
normal grep.
Clone the repo and run CMake:
git clone https://github.com/vilebile17/grep_plus_plus
cd grep_plus_plus
cmake -B build
cmake --build buildAnd after that, your executable file will be ready at ./build/grep++. You can move to the root directory and run it with:
mv ./build/grep++ .
./grep++ -h| Flag | Function |
|---|---|
| -h | displays the help message |
| -v | displays the program version |
| -i | case insensitive |
| -c | displays the number of times that it found the substring after printing the other results |
| -C | displays only the number of times that it found the substring |
| -n | displays line numbers next to the lines themselves |
| -N | only finds num instances of the substring (USAGE: -N <num>) |
¯\_(ツ)_/¯
It is pretty cool though 🗿
