Check Bashisms: Escape newline character
@@ -13,7 +13,7 @@ find -version > /dev/null 2>&1 > /dev/null && FIND=find || FIND='find -E'
# this way we also check subdirectories
# The script `check-env-dep` uses process substitution which is **not** a standard `sh` feature!
# See also: https://unix.stackexchange.com/questions/151925
-scripts=$($FIND scripts/ -type f -not -regex
+scripts=$($FIND scripts/ -type f -not -regex \
'.+(/docker/.+|check-env-dep|Jenkinsfile(.daily)?|kdb_zsh_completion|sed|\.(cmake|fish|in|md|txt))$' | xargs)
checkbashisms $scripts
ret=$?
