grep/SOURCES/grepconf.sh
2022-05-17 15:55:05 +00:00

12 lines
253 B
Bash

#!/bin/sh
case "$1" in
-c | --interactive-color)
! grep -qsi "^COLOR.*none" /etc/GREP_COLORS
;;
*)
echo >&2 "Invalid / no option passed, so far only -c | --interactive-color is supported."
exit 1
;;
esac