summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2023-11-11 13:00:13 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2023-11-11 13:00:13 +0100
commit5ccc0ba2fa80336bc765993ae7c8c2acefc791a6 (patch)
tree76d240cbfcdb9a6d448d7b5cd3fa27e90d3c0437
parenta89ea86956af39065f6f11023a8fda383956805e (diff)
downloadcrep-5ccc0ba2fa80336bc765993ae7c8c2acefc791a6.tar.gz
Added license
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index 38cbd42..1cfd280 100644
--- a/main.c
+++ b/main.c
@@ -1,12 +1,13 @@
// IMMEDIATE TODO & IDEAS:
// - Add language specific filter (by default all but it can also passed
-// with -lpy -lc -lrb) which would only parse python, c and ruby files.
+// with -tpy -tc -trb) which would only parse python, c and ruby files.
// - By default its case insensitive but with passing -cs it tells that
// all matching should be done in case sensitive way.
// - Add pthreads and check how grep does it's magic.
// - Add Levenshtein distance for matching and expose distance as arg with
// something like -d5 which would allow distance of 5 on a match.
// - Allow DEBUG to be provided as environmental variable.
+// - Added depth flag (-r means recursive, -l2 means 2 levels deep).
#include <assert.h>
#include <stdio.h>