Fix overzealous search and replace when copying from grepconf.sh

This commit is contained in:
Chris Adams 2025-10-25 21:21:20 -05:00
commit 39cea92bca

View file

@ -2,7 +2,7 @@
case "$1" in case "$1" in
-c | --interactive-color) -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." echo >&2 "Invalid / no option passed, so far only -c | --interactive-color is supported."