Are there any shell (specifically bash or ksh) checkers that test shell scripts for style, best practices, naming conventions, etc? (Something like Lint for C, or Perl::Cri
I wrote shlint to wrap checkbashims and the other basic linting options available to shells presented in Brian's answer.
It's installable via rubygems (gem install shlint) as sort of a gag, really, but you only need perl (for checkbashims) and a POSIX compliant shell to interpret the shlint command itself. Should work out of the box on OSX and Ubuntu.