A project for me to learn a bit about programming in C.
cgrep [pattern] [optional path] [optional flags...]The program can be run with a single argument - a regex pattern, and will search the current directory and sub-directories for matches:
An optional second argument can be passed, a path to a file or directory to search:
An optional flag can be passed, --json, that will format the output as json:
--json - format output as json
Run build.sh from the root of the project
sh build.shcd into the test directory and run test.py
cd test
python3 test.py