Guix will hold its first online conference November 22nd. Propose a talk before November 6th. Learn more!

shellcheck 0.7.1 Static analysis for shell scripts

shellcheck provides static analysis for bash and sh shell scripts. It gives warnings and suggestions in order to:

  1. Point out and clarify typical beginner's syntax issues that cause a shell to give cryptic error messages.

  2. Point out and clarify typical intermediate level semantic problems that cause a shell to behave strangely and counter-intuitively.

  3. Point out subtle caveats, corner cases and pitfalls that may cause an advanced user's otherwise working script to fail under future circumstances.