Finding bugs in bash scripts, Analyis tool for bash
Is there a tool available to verify shell scripts? As an example for other languages like Java there exist some nice tools to integrate into eclipse(, like PMD). Source code analysis
The Java compiler itself checks for several issues. They find 'patterns of errors' which should be avoided, something like: - obsolete API call used - return value not used - etc. |
The bash debugger:
http://bashdb.sourceforge.net/ |
I use this to sanitize the environment:
Code:
source "/etc/profile" > /dev/null |
All times are GMT -5. The time now is 12:09 PM. |