From 39cea92bca96a4502a9ce091e0dfd21732f47eeb Mon Sep 17 00:00:00 2001 From: Chris Adams Date: Sat, 25 Oct 2025 21:21:20 -0500 Subject: [PATCH] Fix overzealous search and replace when copying from grepconf.sh --- diffconf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diffconf.sh b/diffconf.sh index ddba4b8..eff5570 100644 --- a/diffconf.sh +++ b/diffconf.sh @@ -2,7 +2,7 @@ case "$1" in -c | --interactive-color) - ! diff -qsi "^COLOR.*none" /etc/DIFF_COLORS + ! grep -qsi "^COLOR.*none" /etc/DIFF_COLORS ;; *) echo >&2 "Invalid / no option passed, so far only -c | --interactive-color is supported."