DEV Community

Discussion on: Shellscripting: Functions

Collapse
 
polyluxus profile image
Martin Schwarzer

You might want to check out Shellcheck to avoid simple errors, probably unwanted behaviours, and deprecated code, and maybe even more. The online wiki is really helpful in explaining why things may go wrong, or why some code has been replaced.

Collapse
 
ferricoxide profile image
Thomas H Jones II

Shellcheck is a great to add to a Git probject's .travis.yml (if you're using Travis.CI as a test-framework for commits, obvs.; otherwise call it from whatever else you're using to test uploaded code).