diff --git a/Recursiveness.md b/Recursiveness.md index 27a299c..222df14 100644 --- a/Recursiveness.md +++ b/Recursiveness.md @@ -19,7 +19,8 @@ To check files with one of multiple extensions: # globstar makes ** recursive. # nullglob will prevent one of the extension pattens from appearing in the arg list # if they don't match. -shopt -s globstar nullglob +# dot glob will match shell scripts in hidden directories. +shopt -s globstar nullglob dotglob shellcheck /path/to/scripts/**/*.{sh,bash,ksh} # POSIX