Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use SHELLCHECK for syntax checking #115

Open
PeterPitterling opened this issue Aug 30, 2022 · 1 comment
Open

use SHELLCHECK for syntax checking #115

PeterPitterling opened this issue Aug 30, 2022 · 1 comment

Comments

@PeterPitterling
Copy link
Contributor

https://github.com/koalaman/shellcheck is good static analyzer unveiling script issues

  • unused variables
  • quoting
  • globbing
  • array handling
  • backticks

not all reported issues are always valid, but most of the issues should be adressed

e.g. SAPHana has 28 reported unused declared variables

image

@fmherschel
Copy link
Member

@PeterPitterling Thanks for the hint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants