www.shellcheck.net. ShellCheck is a site that allows you to paste in your bash scripts and receive automated feed back on common errors and security holes.

"> www.shellcheck.net. ShellCheck is a site that allows you to paste in your bash scripts and receive automated feed back on common errors and security holes.

"> www.shellcheck.net. ShellCheck is a site that allows you to paste in your bash scripts and receive automated feed back on common errors and security holes.

" />
Rafe Hart

Thoughts on security, privacy, and building software.

ShellCheck

15 February 2015

This is a quick note to share a useful tool by Vidar ‘koala_man’ Holen, www.shellcheck.net. ShellCheck is a site that allows you to paste in your bash scripts and receive automated feed back on common errors and security holes.

ShellCheck checks your scripts for errors

For most cygwin users, sending your shell scripts over an unencrypted internet connection will have to be sufficient. You can download and compile ShellCheck locally, provided you have 2G of RAM available to do it, but GHC does not work with Cygwin, and won’t be able to locate anything using the Cygwin path structure, such as ‘/bin/bash’, and neither will the programs it compiles.

The issue is explained in more depth here - let me know if you can get it running!