mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-30 22:17:57 +01:00
387 B
387 B
shellcheck
Shell script static analysis tool. More information: https://www.shellcheck.net/.
- Check a shell script:
shellcheck {{file.sh}}
- Override script's shebang:
shellcheck --shell {{sh|bash|ksh}} {{file.sh}}
- Ignore certain errors:
shellcheck --exclude {{SC1009}} {{file.sh}}
- Ignore multiple errors:
shellcheck --exclude {{SC1009,SC1073}} {{file.sh}}