mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
removing globstar
@@ -19,7 +19,7 @@ To check files with one of multiple extensions:
|
||||
# nullglob will prevent one of the extension patterns from appearing in the arg list
|
||||
# if they don't match.
|
||||
# dotglob will match shell scripts in hidden directories.
|
||||
shopt -s globstar nullglob dotglob
|
||||
shopt -s nullglob dotglob
|
||||
shellcheck /path/to/scripts/**.{sh,bash,ksh,bashrc,bash_profile,bash_login,bash_logout}
|
||||
|
||||
# POSIX
|
||||
|
Reference in New Issue
Block a user