Re:Shellcheck: a static analysis tool for shell scripts
by nimrody on Thursday February 05, 2015 @06:29AM
(#9002698)
The real problem with shell scripts is that they usually tie together a few external commands and tend to pass information around using the filesystem.
This, together with poor error handling is a recipe for disaster: Problems with permissions, insufficient disk space, etc. Instead of stopping when encountering an error, most shell scripts will happily continue break at some other point in time (or worse - destroy valuable data).
This, together with poor error handling is a recipe for disaster: Problems with permissions, insufficient disk space, etc. Instead of stopping when encountering an error, most shell scripts will happily continue break at some other point in time (or worse - destroy valuable data).