cl-grep

Simple implementation of grep
Log | Files | Refs

commit 93a2b4f5a90f0f8f40453191832df59cdd39a28f
parent 6c6de902436994d936b9929a1549572d2095ef9c
Author: ChanderG <[email protected]>
Date:   Sat,  6 Dec 2025 20:22:22 +0530

expand the file ext blacklist

does speed up overall operations for sure

Diffstat:
Mgrep.lisp | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/grep.lisp b/grep.lisp @@ -4,7 +4,9 @@ (declaim (inline format-file-result search-line grep-file)) (defparameter +file-lc-blacklist+ '(#\~ #\#)) -(defparameter +file-ext-blacklist+ '("pwd")) +(defparameter +file-ext-blacklist+ + '("pwd" "png" "svg" "jpeg" "gif" "mov" "mp4" "mkv" + "blob" "o" "so" "a")) (defparameter +dir-blacklist+ '(".git" ".venv")) (defparameter *match* nil)