Check Your Bash Scripts For Syntax

There’s a great site out there called spellcheck.net that will check your bash scripts to verify that they are syntactically correct and offer some tips on fixing issues you may encounter. In the example below, I single quoted at the end of a quoted string, and… error screen-shot-2016-12-14-at-9-44-00-am Hat tip to Daniel MacLaughlin for posting this site.

3 thoughts on “Check Your Bash Scripts For Syntax”

  1. You can also install it as a tool right in your own shell. It’s available via `brew` as `brew install shellcheck`.

Comments are closed.