1 2 3 4 5 6 7
# POSIX shell set -- for game in games/*.sh ; do set -- "$@" "${game%.sh}" done shellcheck -e SC1090 -- "$@" || exit printf 'POSIX shell games linted successfully.\n'