various updates

This commit is contained in:
Peter Kingswell 2021-04-15 10:40:29 -04:00
commit b2a9b62fa5
6 changed files with 226 additions and 18 deletions

View file

@ -16,9 +16,9 @@ else
# isn't available, --color won't be either (they were released at the same
# time (v2.5): https://git.savannah.gnu.org/cgit/grep.git/tree/NEWS?id=1236f007
if grep-flags-available --color=auto --exclude-dir=.cvs; then
GREP_OPTIONS="--color=auto --exclude-dir=$EXC_FOLDERS"
GREP_OPTIONS="--color=always --exclude-dir=$EXC_FOLDERS"
elif grep-flags-available --color=auto --exclude=.cvs; then
GREP_OPTIONS="--color=auto --exclude=$EXC_FOLDERS"
GREP_OPTIONS="--color=always --exclude=$EXC_FOLDERS"
fi
if [[ -n "$GREP_OPTIONS" ]]; then